title: Dialog in WPF dissapears when clicking on application icon in taskbar
body: <p>I have a WPF application where i show a dialog with</p>
  
  <pre><code>  nrDialog.WindowStartupLocation = WindowStartupLocation.CenterScreen;
    bool? dialogResult = nrDialog.ShowDialog();
  </code></pre>
  
  <p>The dialog is a simple Window object with properties</p>
  
  <pre><code>Title="NewReportDialog" WindowStartupLocation="CenterOwner" ShowInTaskbar="False" ResizeMode="NoResize"&gt;
  </code></pre>
  
  <p>The windows works as normal modal dialog and locks mainwindow as it should , but when i click on the application icon on the taskbar, Windows 7, the modal dialog goes out of focus and the only way to get the dialog back in to focus is to use ALT-Tab</p>
  
  <p>Anyone has a solution?</p>