Fixed close dialog