title: Popup always stays on top
body: <p>I've WPF application which has one Main window on which I'm opening a Popup window. The problem I'm facing is the Popup window always stays on top. If I open some other application(<strong>any windows application</strong>) the main window goes into background but the Popup windows remain on top.However if I minimize the <strong>Mainwindow</strong> the Popup also minimizes.</p>
  
  <p><img src="https://i.stack.imgur.com/Vf5ra.png" alt="Below image shows the problem. The PopUp window is appearing on top of Notepad application"></p>
  
  <p>Please help on overcoming this issue.</p>
  
  <p>Update:</p>
  
  <p>I am opening the Popup as below</p>
  
  <pre><code> myPopup.IsOpen = true;
  </code></pre>