Changed the way we do modals, so that it's more mobile-friendly