Not really getting the whole picture from your post. So you use can.route and then open a popup. How do you expect the popup to behave?
I would expect that the popup would close when the user navigate backwards, but having it open after going backwards and then forwards would be tricky (unless the act of opening the popup changes the route).