MessageBoxResult GetSaveResult()
 {
     if (_popupController != null && IsDirty)
     {
         return(_popupController.ShowSettingsCloseConfirmation());
     }
     return(!IsDirty ? MessageBoxResult.No : MessageBoxResult.None);
 }