I am struggling to implement this new requirement in which a pop opens when a user moves away from the page (basically reloads a different view).
So this page has couple of buttons and many links on left side bar and on the top menu. When any of these buttons or links are clicked, first a popup will appear. When user fills some entries in these popups and clicks ok, actual navigation takes place.
I am not able to figure out how this can be achieved. Any pointers will be greatly appreciated.