Prevent overflow in mobile modals