use routing for modal