clear close dialog