...
In the first script, go to the resource and click on the blue + event link Event Link Shortcut at the bottom and choose the Close event:
...
...
In the first script, go to the resource and click on the blue + event link Event Link Shortcut at the bottom and choose the Close event:
...