jtsage/jquery-mobile-simpledialog — Issue #45: Modal background partially overlaps dialog
Author: rbdrbd
Created: 2012-02-29 14:43:09+00:00
State: open

This is with the newest simpledialog2 version from master (02/27). I have a dialog like the following that I create in a function call (e.g. not an event handler as a response to a click event or whatever):

```javascript
$(document).simpledialog2({
'mode' : 'button',
'zindex': 10005,
//'showModal': false,
'buttonPrompt' : 'End chat?',
'buttons' : {
'Yes': {
click: function () {
endChat(true);
},
icon: "check",
},
'No': {
click: function () {
},
icon: "back",
theme: "c"
}
}
});
```

On both the iPhone and Firefox desktop, the dialog ends up looking like: http://dl.dropbox.com/u/9719672/misc/simpledialog2.png

If I set showModal to false, it appears as it should. Also, taking off that zindex value doesn't do anything differently. T(I am using fixed toolbars too.)