Window API:
beforeunload
event Dialog displays a generic string, not event handler return value
Deprecated
This feature is no longer recommended.