protected virtual void Dispose(bool disposing)
 {
     DialogService.CloseAllDialogs();
     CancelNetworkRequests();
 }