title: How to hide close button in WPF window?
body: <p>I'm writing a modal dialog in WPF. How do I set a WPF window to not have a close button? I'd still like for its <code>WindowState</code> to have a normal title bar.</p>
  
  <p>I found <code>ResizeMode</code>, <code>WindowState</code>, and <code>WindowStyle</code>, but none of those properties allow me to hide the close button but show the title bar, as in modal dialogs.</p>