title: Show Dialog is not showing the dialog box
body: <p>I am trying to find out reason why ShowDialog() is not showing the dialog box for me.
  I have an application where I have a credential dialog box(A) for the user to enter credentials. And I have another dialog box(B) to display some custom msg based on the user's credential.
  After the user enter's credentials in A, I am doing something with it.
  when I am trying to show the msg in B, ShowDialog() is not showing dialog B.</p>
  
  <p>Can you guys think of any reason?</p>
  
  <p>Here is the code:</p>
  
  <pre><code>bool isInternetConnected = class.CheckInternetConnection(ref error);
  
  if(!String.IsnUllOrEMpty(error))
  {
                  DialogBox dialogBox = new DialogBox();
                  dialogBox.Title = "Credentials";
                  dialogBox.State = DialogBox.States.NoFooter;
                  dialogBox.ShowInTaskbar = false;
  
                  CredentialsContent Credentials = new CredentialsContent();
                  Credentials.ContentCompleted += new EventHandler&lt;ContentCompletedEventArgs&gt;(
                                                                      dialogBox.OnContentCompleted);
  
                  dialogBox.MainContent = Credentials;
                  bool? result = dialogBox.ShowDialog();
                  hasAccess = result.HasValue ? result.Value : false;
  
  }
  
   UpdateDialog updateDialog = new UpdateDialog();
                  updateDialog.ShowModal = true;
                  bool? isTrue = updateDialog.ShowDialog();
  </code></pre>