Added dialogue box to cancelthe give up button