Finally after some perseverance I have managed to get it working.
1. I configured the PS button (Button 13) as the Hotkey and "Options" (Button 10) to "close the active window".
2. In the Exit AutoHotKey Script tab for Supermodel3, I inserted the line "Process, close, supermodel.exe"
This works.