closeStack message to the current card when a user (or script) opens a different stack in the current window, closes the current window, deletes the stack, suspends HyperCard to launch an application, or quits HyperCard.
Note: If you have more than one stack open at a time, HyperCard sends suspendStack, not closeStack, when the stack becomes inactive.