close modal on touch also