Adding an event to close the settings window from the settings view model