title: Error: TypeError: $(...).dialog is not a function
body: <p>I am having an issue getting a dialog to work as basic functionality. Here is my jQuery source imports:</p>
  
  <pre><code>&lt;script type="text/javascript" src="scripts/jquery-1.9.1.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="scripts/jquery-ui-1.11.1.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="scripts/json.debug.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Html:</p>
  
  <pre><code>&lt;button id="opener"&gt;open the dialog&lt;/button&gt;
  &lt;div id="dialog1" title="Dialog Title" hidden="hidden"&gt;I'm a dialog&lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
      $("#opener").click(function() {
              $("#dialog1").dialog('open');
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>From the posts around seems like as a library import issue. I downloaded the JQuery UI Core, Widget, Mouse and Position dependencies.</p>
  
  <p>Any Ideas?</p>