Now closes the settings the window before showing the message box.