fix close dialog

fix close dialog