title: jquery dialog title and close bar remove
body: <p>I have a jquery dialog with title and close bar. After that I am loading an another dialog called for confirmation. In my confirmation dialog UI I don't want the 'title' and 'close' button. If I remove title and close button using dialog 'open' method, in my confirmation dialog it's working fine with the title remove changes. But my backend dialog also getting removed with the title and close button. I only need that for the current dialog not for the parent one. </p>
  
  <p>I am here attaching the UI for your reference.</p>
  
  <p><a href="https://i.stack.imgur.com/tICy1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tICy1.png" alt="First dialog with the title and close"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ug5Hs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ug5Hs.png" alt="another popup without close and title"></a></p>
  
  <p>In the first image, I am initializing with the jquery dialog with the title and close button.</p>
  
  <p>In the second one, I am removing title and close with open function while init the dialog. </p>
  
  <p>In my second dialog init,</p>
  
  <pre><code>open: function (event, ui) {
          $(".ui-dialog-titlebar-close", ui.dialog | ui).remove(); 
          $(".ui-dialog-titlebar", ui.dialog | ui).remove();
  },
  </code></pre>
  
  <p>If, I do remove like this, I am getting removed title all the dialog. I need to remove title for the specific dialog.Kindly help me out of this.</p>