title: jQueryUI Dialog is incorrectly showing text under the Close Button
body: <p>I'm using jQuery 3 and jQueryUI 1.12. After upgrading, I'm getting this when I show the dialog:</p>
  
  <p><a href="https://i.stack.imgur.com/jltL9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jltL9.png" alt="enter image description here"></a></p>
  
  <p>The glitch is that the word "Close" is appearing under the close button. </p>
  
  <p>The reason for this is that it's actually in the generated HTML that way:</p>
  
  <p><a href="https://i.stack.imgur.com/pzdmw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pzdmw.png" alt="enter image description here"></a></p>
  
  <p>But I can't figure out why it's doing this or how to fix it (other than by hacking the DOM directly, but that seems undesirable since it's a core part of the library).</p>
  
  <p>What's going on here and how can I fix it?</p>