Triggers a script to run before a layout is exited.
When the script runs
Before the event has been processed.
Modes in which the trigger can be used
Browse, Find, and Preview modes.
You can use the Exit Script script step within the triggered script to return True or False.
Originated in 
FileMaker Pro 11.0
This script trigger can be activated when the window is closed.
Related topics 
Setting up script triggers
Setting script triggers for layouts
Setting script triggers for objects