Prompt a warning when the players refresh the page. The player can choose to cancel it.