private void OnLaunchModalDialog(object sender, RoutedEventArgs e)
 {
     using (MyModalDialog modalDialog = new MyModalDialog())
     {
         modalDialog.ShowModalWithEditorHooked();
     }
 }
 private void OnLaunchModalDialog(object sender, RoutedEventArgs e)
 {
     using (MyModalDialog modalDialog = new MyModalDialog())
     {
         modalDialog.ShowModalWithEditorHooked();
     }
 }