I would like to click on the button that trigger the confirmation dialog. However, when the dialog show, I would like to update state from to "B", but If user click on confirm I would like to update state to "C"
So, simply I would like to have confirmation dialog to update the status:
confirm -> update status to "B"
cancelled -> update status to "C"
So now, I can display the confirmation dialog and update to "B" (Confirm from dialog). I wonder how can I bind the event with cancel button of dialog.