Saves current options and closes the dialog.