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