Auto hide when click on overlay