Add a hook to window close button to ask React App confirmation, if there is unsaved file in the editor.
Add a hook to window close button to ask React App confirmation, if there is unsaved file in the editor.