The dialog is appearing correctly and works the way it should. However, when I move the dialog around the page, a couple of elements will hover over the dialog i.e. the dialog is underneath these elements.
The surrounding area in relation to dialog greys out appropriately, except for the two elements that hover above the dialog; they retain their respective colors.
What both of these page elements have in common is that they are both background images (which I need them to be), set using the CSS background property. They're the only background images set on the page, so I'm assuming this is the reason, but I don't know why or how to fix it.
The behavior is the same in both Chrome and Firefox (dunno about IE, Opera or Safari).
I'm using jQuery 1.10.1 and jQuery UI 1.10.3 with roughly the following for the dialog:
$( "#launch-dialog" ).dialog({
autoOpen: false,
height: 'auto',
width: 'auto',
modal: true,
buttons: {
"OK": function() {
$("#launch-dialog").text("");
$( this ).dialog( "close" );
},
},
close: function() {
allFields.val( "" ).removeClass( "ui-state-error" );
}
});
There's nothing special about the background images in how they're specified.
Can anyone help me out?