Exploring the possibility of displaying a modal when a specific route is refreshed in an ember app. The modal will offer an 'ok' action to proceed with the refresh and a 'cancel' action to stop it.
Although Ember has a 'refresh()' method that can be manually triggered within a route, it does not function as an event. The 'willTransition' event only triggers if there is a change in the URL path, while the 'activate()' event activates upon entering the route.
Is there a way to manage a route refresh event and allow users to either continue or cancel the refresh based on their action?