ide/GlobalSettingsDialog: Fix to confirm closing dialog when changes were made (Was...