close dialog by click on overlay