title: Message box popup in the background
body: <pre><code>String message = "Are you sure the event: \"" + event_text + "\" has been complete for Loan# " + loannumber + "?"; //show popup to confirm the completion of event
  
  var result = System.Windows.Forms.MessageBox.Show(message, "Loan # "+loannumber+" - Processed Event: "+event_text, System.Windows.Forms.MessageBoxButtons.YesNo);
  
  if (result == System.Windows.Forms.DialogResult.No)
  {
  
      //do nothing close popup
  }
  else
  {
  
  //do something else
  </code></pre>
  
  <p>I have this code behind on my ASP.NET page.  When I click a button on my webpage, this popup should show up.  The problem is that sometimes it shows up in the foreground, but sometimes I have to actually click on the little icon on the doc.  </p>
  
  <p>Any ideas?</p>