Programming Tips - jQueryUI: How can I remove the close [X] button from a dialog

Date: 2015oct13 Library: jQueryUI Language: javaScript Keywords: jQuery UI Q. jQueryUI: How can I remove the close [X] button from a dialog A. After its open do:
$('.ui-dialog-titlebar-close').hide();