Navigation: Javascript API > Events for user forms
OnBackConfirm
Scripts and functions defined here are executed when a back dialog is confirmed.
If the script returns the script return the value false, the assignment is not executed.