close modal on overlay click