Opening a dialog box with option "modal: true" causes IE to hang due to processor spike

Opening a dialog box with option "modal: true" causes IE to hang due to processor spike


Hello,
I am using the latest version of jQuery (1.3.2) and jQuery-UI (1.7.1).
I've implemented a jQuery UI dialog box, and opening it in any browser
other than Internet Explorer works fine. In IE, clicking the <input>
element to which the jQuery dialog() method is attached causes the
iexplore.exe process to spike to 99% and the browser to hang.
I can stop the issue by removing the "modal: true" option from my
code:
jQuery(function(){
jQuery("#choose_pubs_dialog").dialog({
autoOpen: false,
width: 500,
height: 220,
modal: true, // this line is the culprit
overlay: { 'background-color': '#f5f5f5', 'moz-opacity': 0.75,
'opacity': 0.75 }
});
});
However, I need the box to have modal behavior so that's not an ideal
solution.
Interestingly, removing the contents of the dialog box (i.e. stripping
out all HTML within the <div id="choose_pubs_dialog" that I attached
the dialog() method to) also stops this problem, as does removing the
DOCTYPE from the page. The latter does break the modal behavior,
though.
I found a couple of reported bugs that may be somehow be related:
http://groups.google.com/group/jquery-ui/browse_thread/thread/583d66e31b8a334c
http://dev.jqueryui.com/ticket/4065
The former is similar to my issue, but I'm using the XHTML 1.0 Strict
DOCTYPE.
The latter should be fixed in jQuery-UI 1.8.x, so there's a chance
that it might solve this issue, though they're not exactly the same.
Does anyone have any ideas about what the problem is, or suggestions
about how to fix it? I would greatly appreciate any advice.
Thanks!