Added confirm to cancel.