protected override void CancelAction()
 {
     if (!IsModal)
     {
         _entity.CancelEdit();
     }
 }