Retain context when canceling a delete operation.