cache calculated value for Cancel button disable flag