How do I prevent the CloseStack message actually closing the stack ? I want to do various checks before I allow exit. Passing the message does not seem to work.