Place it as the closing beat of a chat-screen edit, after the final on-screen reply, and put WhatsApp Message Sound Button just before it so the incoming alert sets up the exit, then let the goodbye close the scene.