Implemented game over dialog box