working in game over dialog