add routing for modals