title: Coded UI unexpected pop-up handling
body: <p>I'm doing a Coded UI test and I have a problem with unexpected pop-ups. In the function below after doing the first step "main.Open..." I get a unexpected pop-up (bug in the software which is normal). </p>
  
  <p>My Assert still go through as "Pass" because it captures the control that is in the background (pop-up is in the foreground at this point), this is the first thing that I found strange...how come it captures the background process??</p>
  
  <p>Second, it never do the main.RemoveNavigatorResultsLogoFilter() and this is not reported in the output.html and this test actually PASSES!! I'm fairly new to Coded UI.</p>
  
  <p>My Playback setting is : </p>
  
  <pre><code>Playback.PlaybackSettings.LoggerOverrideState = HtmlLoggerState.AllActionSnapshot;
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>        main.OpenNavigatorResultsLogoFilterWindow().SelectElementInNavigatorResultsLogoFilterList(logoName).ApplyNavigatorResultsLogoFilter();            
          Assert.IsTrue(String.Equals(logo.GetModifiedBy(), "VendorX"));            
          main.RemoveNavigatorResultsLogoFilter();
  </code></pre>