The button click event, or a form submission event if the dialog was submitted via keyboard.
If the form was submitted via keyboard, this will be the default button, otherwise the button that was clicked.
The dialog element.
The button click event, or a form submission event if the dialog was submitted via keyboard.