I found this on another post, hopes it helps, it worked for me:
$("#div2").dialog({ closeOnEscape: false, open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); } });
This is the link:
How to remove close button on the jQuery UI dialog?
1.4m articles
1.4m replys
5 comments
57.0k users