I have the following problem. I have a drop-down option with a confirm dialog. When a user selects a particular value a confirm dialog pops. However when I click cancel the value of the drop-down is not reseted to the previous user selected, it is just the new value.
Is there any way to "remember" the previous value and set it back when the user click Cancel?