I just upgraded my jQuery/jQuery UI to the latest version (jQuery 1.9.0, jQuery UI 1.10.0), and it seems to have broken some of my jQuery UI dialog functionality.
In
OK, so this seems to be the fix for jQuery UI v1.10:
$("#newInsurance").dialog({
autoOpen: false,
appendTo: "form",
modal: true
}).parent().css('z-index', '1005');
In jQuery UI v1.10 they added an appendTo property, which seems to do the same exact thing as calling .parent().appendTo($("form"))
. The trick to the fix is the z-index.