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.
We will investigate this.
I would suggest you use without zIndex or just set some sensitive bigger value for this property.
Also, because each window is separated could be created out of the other windows and out of the initContent.
Please, take a look at this example: http://jsfiddle.net/36oa3bvy/
Thank you for your understanding.