SettingsDialog: Remove unused variable
ImageDialog: Correctly close the save dialog on cancel