enhance Settings Window: allow cancel and quit without save changes