I’ve discovered some odd behavior involving windows opening windows. It seems that if a non-modal window opens up a modal window inside it (defined within its content space), the new modal window appears behind the non-modal window, regardless of zIndex setup.
This jsfiddle lets you play around with what I’m describing.
http://jsfiddle.net/du7Kd/59/
Is this intended behavior? I would expect any window opened by another window to appear on top of it, and I would expect modal windows to be on top of all other windows, in the order they’re opened.