'alertdialog', the APG's alert dialog, asks for an answer: its dialog
bundle carries role="alertdialog", and the application draws no close
button and drops the Messages isDismissal names. 'dialog', the
default, writes no role: the <dialog> element already has it.
Whether the dialog is leaving, isLeaving(model). The panel is then drawn
inert for the rest of its exit: upstream already takes the backdrop and
close button out of a leaving dialog but leaves the application's own
controls live, and its RenderInfo does not say it is leaving.