jquery dialog box on close event code example Example: jquery close another dialog $("#modalSearch").dialog('close');