This demo shows how windows containing "embedded content", like iframe, Flash game, or QuickTime video, can be dealt with.

By setting embeddedContent option to true, whenever window is not on top, an overlay is put over window, allowing to bring it back to top when it's clicked. Normally, click event would not be propagated from embedded content to DOM.

Window containing basic demo has a custom styles set to overlay, while window containing video has the default styles.