Run the following immediately after the dialog is called in the Ajax:
$(".ui-dialog-titlebar").hide();
$(".ui-dialog").addClass("customclass");
This applies just to the dialog that is opened, so it can be changed for each one used.
(This quick answer is based on another response on Stack Overflow.)