[Feature Request] - Editor close warning pop up

Please create the option to enable a warning pop up that would ask the user “Are you sure you want to exit?” when they click the X on the top right of the Main Editor window. Answer “Yes”, would of course exit the Project, but “No” would cancel the shutdown of the Editor.

Taking this further, the X could close any docked tab as expected, but never shut down the last-tab/Editor without warning.

It would be a nice, user-friendly option to be able to enable.

Thanks,