How to program a custom action for the game's close button in the menu bar? Currently, I only see the 'disable close button in the menu bar' option in the settings, but I remember doing this years ago in CF, where there was an option to deactivate the game's close action and plan your own action using 'end of application.' I want to check if the game has been saved. If not, and someone clicks the close button, it should take us to the game closure confirmation menu and optionally allow saving.
Please login to see this link.