title: Jquery UI dialog in wordpress admin
body: <p>I am attempting to use the jQuery UI dialog script in my Wordpress theme admin page.  Everything is straight from the UI demo and yet I end up with a dialog box where the dialog is not popped up over anything and instead buried in bottom corner, just before the closing body tag.  </p>
  
  <p>The UI dialog script is queued properly w/ wp_enqueue_script as its shows up in the source code as does jquery (from google API) and the UI core.  </p>
  
  <pre><code>jQuery(document).ready(function($) {
      $("#dialog").dialog();
  }); //end onload stuff
  </code></pre>
  
  <p>Then I have this in my options page:</p>
  
  <pre><code>&lt;div id="dialog" title="Basic dialog"&gt;
  &lt;p&gt;This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>