IDEX-1423. Use styled window then try close unsaved file instead of brow...

IDEX-1423. Use styled window then try close unsaved file instead of browser pop up.