Added confirmation on end-game button click.