Close modal on mobile