Dialogs present a window with a title (optional), a body, and
buttons (optional). Dialog buttons are labeled with strings and map
to values of type a, which you choose.
Dialogs handle the following events by default with handleDialogEvent:
Tab or Right Arrow: select the next button
Shift-tab or Left Arrow: select the previous button