What's the right way to enter and exit modal states with Ember router v2?
问题 I can't figure out the correct way to handle modal states/views with the new Ember router. More generally, how do you handle states that you can enter and exit without affecting the "main" state (the URL)? For example, a "New Message" button that is always available regardless of the current leaf state. Clicking "New Message" should open the new message modal over the current view, without affecting the URL. Currently, I'm using an approach like this: Routes: App.Router.map(function() { this