Fix dialog not appearing when timer zeroed

-Dialog previously only appeared when user clicked the button after the timer ran out