routes to popup working