jquery dialog hide close button code example Example: jquery close another dialog $("#modalSearch").dialog('close');