private void ChooseDialogView_OnBackKeyPress(object sender, CancelEventArgs e)
 {
     if (_searchView != null && SearchContentControl.Visibility == Visibility.Visible)
     {
         _searchView.BeginCloseStoryboard(() =>
         {
             Main.Focus();
             SearchContentControl.Visibility = Visibility.Collapsed;
         });
         e.Cancel = true;
         return;
     }
 }