Migrate several pages to modals