onBeforeHide

Description

Specify the Javascript code to execute before the window is hidden.