Confirmation Modal Cancel Action Handler

Let's say you have a select dropdown which you use to trigger an update with confirmation modal.

You change value but decide to cancel - there is no way to reset that value to default.