title: custom dialog with close button
body: <p>I want to create a custom dialog with the layout as shown in the picture.
  <img src="https://i.stack.imgur.com/kGUlH.png" alt="enter image description here">
  The cross/close button must be on the top right side.
  Please suggest how can i achieve this kind of layout.</p>
  
  <p>Thanks in advance.</p>