title: Window scrolling up when jquery dialog opens up
body: <p>I am trying to open a modal jquery dialog using jquery 1.4 and jquery-ui-1.8rc3.custom.js</p>
  
  <p>The dialog opens up with no issues, in all browsers, but in IE 7 and 6, after the dialog opens up, the window scrolls itself to the buttom... I tried scrolling the window up back to the modal position but is very inconsistent.
  was using the following line of code after opening up the modal</p>
  
  <pre><code>window.scrollTo($('#selector').dialog('option', 'position')[0],$('#selector').dialog('option', 'position')[1]);
  </code></pre>
  
  <p>One weird thing I am noticing is that after I open the modal, the page becomes huge... as if some extra things adds up on the bottom .... and it eventually scrolls to the bottom.
  Any idea why this could be hapenning </p>
  
  <p>in html </p>
  
  <pre><code>&lt;div id="selector"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>in document.ready   </p>
  
  <pre><code>$('#selector').dialog({
    bgiframe: true,
    autoOpen: false,
    width: 100,
    height: 100,
    modal: true,
    position: 'top'
  });
  </code></pre>
  
  <p>in js</p>
  
  <pre><code>$('#selector').dialog('open');
  </code></pre>