Problem
We have a Odometer project PR here. A remaining improvement suggestion is an improvement to our usage of DiscardChangesConfirmation modal within the Odometer expense flow.
Replace the isEnabled prop approach in DiscardChangesConfirmation with the existing isSaved flag pattern used in IOURequestStepMerchant
We are partly blocked by this PR which modifies DiscardChangesModal. So this task is being created as a seperate follow up issue.
