public void Close()
 {
     if (!IsClosed && OnClosing())
     {
         PrepareClose();
         IsClosed = true;
         _viewModelManager.CloseViewModel(this);
     }
 }