title: Debug a modal dialog (showModalDialog) in IE
body: <p>I want to debug (examine DOM, use the interactive JS console, etc) part of a web application that is inside a modal dialog that was created by <code>showModalDialog()</code>.</p>
  
  <p><strong>I can't find a way to use the standard IE-8 developer tools for this;</strong> The dialog doesn't have a toolbar and the usual shortcut (F12) doesn't work.</p>
  
  <hr>
  
  <p>Another SO question (I unfortunately have lost the link to) suggested that the only solution is to (perhaps temporarily) replace <code>showModalDialog()</code> with an old-fashioned <code>window.open()</code>. If this is the case, is there a straightfoward way to do it?</p>
  
  <p>Caveats:</p>
  
  <ul>
  <li>The app cares about passing dialogArguments and the return value of showModalDialog</li>
  <li>I can't use other browsers, FF+Firebug, etc.</li>
  </ul>