allow close by clicking on overlay