Implement exitShow().
Update the demo to use exitShow().