title: Resize Modal Window in Javascript
body: <p>I'm trying to resize my modal dialog window when certain items are hidden/shown.  </p>
  
  <pre><code>window.resizeTo(800, 600);
  </code></pre>
  
  <p>I've tried using code like above, but it doesn't seem to work.  I think because it is a modal dialog, and not a regular window.  Any suggestions as to how I could resize this?</p>