Page reload/refresh event

Hiya
I’m using @PreserveOnRefresh annotation on my UI class to have a session preserved when the user refreshes my Vaadin application’s browser window.
Is there any way to be notified then the user did such a refresh? I wrote custom Navigator for my application, and when the views change, I send notifications to the JavaScript side to animate changing views. I also have a bunch of JS callbacks during the transition. When the user simply refreshes the page, Navigator’s logic is not executed and so my callbacks.

I’d appreciate any hints.

Issue reported here:

Ticket #12191