I was able to run your app, and it looks like the value attributes are removed from the text buttons.
This means the dialog doesn't update its returnValue since it can't find a value attribute on the button.
Digging in deeper, it looks like Vue will decide to try and set the property button.value = 'cancel' instead of button.setAttribute('value', 'cancel'). Our property doesn't reflect to the attribute, and then things break.
We can fix this on our end by making the button's value attribute reflects.
Originally posted by @asyncliz in #5369 (reply in thread)