Cancel attribute collection when cancellation button is clicked