ok now hal_bridge has ok/cancel buttons that will close the notify error messages (if showing) or if a dialog is showing, enter ok / cancel or close.
Also the shutdown dialog can be set to have a countdown timer to automatically close the screen without clicking it.
Docs have been updated.
let me know how the ok/cancel pins work for you.