adding a dialog box to restart game quickly when user loses