can you make a CDHtmlDialog derived class and stick it in a dll... yes
does that mean the webbrowser itself is in the dll... no. it only means you're calling the webbrowser control from a dll.