private void HandleSave()
 {
     try
     {
         SaveFileDialog dialog = DialogFactory.GetSaveJsonDialog();
         if (dialog.ShowDialog() == true)
         {
             Model.FleetTemplate.ToFile(dialog.FileName);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Failed to save fleet template", MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }