title: How do I create an options popup dialog using firefox addon sdk?
body: <p>So I decided recently to create a <strong>firefox extension</strong> I have been thinking about, but do not have any prior experience with it. I read on the official tutorials and figured that the <strong>addons sdk</strong> seemed to fit me well, but I seem to have hit a hitch using it.</p>
  
  <p>What I want to do is create an <strong>options popup dialog</strong>, similar to the one you see if you press <a href="http://cnet3.cbsistatic.com/hub/i/2011/03/13/50780ecc-fdba-11e2-8c7c-d4ae52e62bcc/64af04c5bb514a1a5e22cee21bdfdcd3/03_14_11_Firefox_cookies_2.jpg" rel="nofollow noreferrer"><strong>alt-tools-options</strong></a>. That is, a border with title and close button on the upper part, and a bigger area inside the window where I can define an "intuitive" (default elements with the skin the user is used to) GUI.
  The tabs at the top (general, privacy security etc.) is nothing I really need, though would not hurt either.</p>
  
  <p>So the issue is that from my searches, when you use addon sdk, you are not supposed to use XUL which has those elements, but instead you seem to be supposed to create something custom using <strong><a href="https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Display_a_Popup" rel="nofollow noreferrer">HTML in a panel</a></strong>. I don't think its possible to create the top-bar akin to the real options-menu when using that, although if I am wrong I would not mind being corrected.</p>
  
  <p>I had a similar issue before, where I wanted a drop-down menu from the toolbar similar to the default ones, which I solved thanks to: <a href="https://stackoverflow.com/questions/10659221/how-to-add-a-dropdown-menu-to-a-firefox-addon-sdk-powered-addon-toolbar-button">How to add a dropdown menu to a firefox addon sdk powered addon toolbar button?</a>.
  Might be worth noting that that the button opening the options dialog is one of the menuitems created as described there.
  I was considering that it could probably be possible (aka I am not sure) to use something akin to this, but sadly I do not know how I would create a "separate" (drag-able) popup that I could use this on.</p>
  
  <p>If possible, I would prefer there to exist a solution, but if someone knows that it is indeed impossible, please do post that so and I can give up without regrets and just make some sort of custom HTML panel instead :)</p>
  
  <p>tldr:
  Is there a way to create a popup dialog similar (in style) to the options window you can open using alt-tools-options in firefox when developing using addon sdk?</p>