MDL-39851 tinymce: Cross browser fix for zindex on popups

The previous solution was only working on chrome because it was
relying on "win.name".