avoid closing popup by touching outside of it