Opening a web map in an iframe.
The web map app has multiple widgets on it.
Need to capture the event just before one of the widget unloads when user closes the window containing the iframe. Need to capture and handle for this from "within" the widget code to access various widget variables and functions.
Is there a built in event for this?