title: Is there an event or something i can use when a showdialogwindow is blocking the window i try to access
body: <p>I have 2 windows. Lets call them A and B.
  A is opening B with a ShowDialog().
  So I am opening B - When the user minimizes B or gets it into the back somehow and he tries clicking window A again its blocked (as it should be), but is there an Event that I can catch up onto when this happens ?</p>
  
  <p>I am trying to achieve bringing the blocking window B into the front when hes trying to access window A with window B opened.</p>
  
  <p>Codeexample:</p>
  
  <p>Thats how Window A is opened from the Mainwindow</p>
  
  <pre><code>            WindowA windowA = new WindowA();
  
              windowA.Owner = Application.Current.MainWindow;
  
              windowA.Show();
              windowA.Activate();
  </code></pre>
  
  <p>And thats how Window B is opened</p>
  
  <pre><code>            WindowB windowB = new WindowB();
              windowB.Owner = this; //(this = windowA)
              windowB.ShowDialog();
  </code></pre>
  
  <p>Both windows have no special properties set except</p>
  
  <pre><code>WindowStartupLocation="CenterScreen"
  </code></pre>