title: Audio Keeps Playing After Closing Window With WebBrowser In WPF
body: <p>I have a window that is being displayed by Caliburn.Micro.  This window contains a WebBrowser control that can play a youtube video.  If the Youtube video is playing and the user closes the window, the audio continues to play in the background.  How do I get the audio to stop playing when the window closes?  I'm assuming the view isn't being disposed for some reason.</p>
  
  <p><strong>Display The Window</strong></p>
  
  <pre><code>public void Handle(VideoButtonClick message)
  {
      var manager = new WindowManager();
      Video = new VideoViewModel(message.VideoID);
      dynamic settings = new ExpandoObject();
      settings.ResizeMode = ResizeMode.NoResize;
      settings.Icon = null;
  
      manager.ShowDialog(Video, null, settings);
  }
  </code></pre>
  
  <p><strong>View Displayed Within Window</strong></p>
  
  <pre><code>&lt;UserControl .....&gt;
      &lt;Grid&gt;
          &lt;WebBrowser ctrl:BrowserBehavior.Html="{Binding VideoHTML}"
                      ScrollViewer.CanContentScroll="False"
                      ScrollViewer.VerticalScrollBarVisibility="Hidden" /&gt;
      &lt;/Grid&gt;
  &lt;/UserControl&gt;
  </code></pre>