Fixes modals not opening on mobile