scripting:api:script-application:on-can-close-workspace