Fix modals on small screens

Modals were impossible to use on small screens