By default the jquery ui tabs dialog do not have a button of close as the dialog box? How to add one on it? The close button i refering is the one in the main dialog box but not sub-tabs, thanks.
$( "#tabs" ).tabs({open: function(event, ui) { $(".ui-dialog-titlebar-close", ui.dialog || ui).show();});
Here ya go…
Demo: JS FIDDLE