Clicking the dialog title bar causes IE to scroll the page to the top of the dialog if the dialog is positioned partially off the page. But this also happens if a user clicks on the close button as well. This means the user has to click on the close button twice.
$('#divDialog').dialog({height:500, position:[10, 1000]});
I created a jsfiddle to demonstrate: http://jsfiddle.net/e9zAK/
Reposition the dialog until it is partially off the screen. Then try to click the close button. It will scroll the page to fit, but not actually close the dialog. This does not seem to happen in Firefox or Chrome.
Is there a way to override this functionality? I do not want to use position:fixed.