Cancel:   Closes the window and restores the settings.