When dynamically creating a 2nd modal window, the 1st modal window loses it's overlay, even though the 2nd modal window has not been opened yet.
Here's a jsfiddle to show you what I mean:
http://jsfiddle.net/kukabuka/49AXA/
After you close the windows and open them again, it will work correctly because they are already created. So reset the fiddle to reproduce.
I know I can work around this issue by not creating the 2nd window until just before I want to open it. But I don't think it should behave like this. Until you open the 2nd window, it shouldn't mess with the overlay of the 1st window. I've got a situation where I'm dynamically creating windows displaying ajax gets, and it's more convenient to setup the window, and open it when I'm ready.
Using the latest 2012.1.515 released today, but I had the same issue with 2012.1.322.
Here's a jsfiddle to show you what I mean:
http://jsfiddle.net/kukabuka/49AXA/
After you close the windows and open them again, it will work correctly because they are already created. So reset the fiddle to reproduce.
I know I can work around this issue by not creating the 2nd window until just before I want to open it. But I don't think it should behave like this. Until you open the 2nd window, it shouldn't mess with the overlay of the 1st window. I've got a situation where I'm dynamically creating windows displaying ajax gets, and it's more convenient to setup the window, and open it when I'm ready.
Using the latest 2012.1.515 released today, but I had the same issue with 2012.1.322.