Dismiss a previous toast in the dialogs demo
The demo uses an AdwToast
to visualize the dialog's response. It is easily possible to click through the possible responses faster than the toast's timeout. In this case you'd actually expect the previous toast to get dismissed and replaced by the new one immediately, so implement that.
(Split off !965)