Hello again,
I have a suggestion for an addition to this widget: The ability to interrupt reload / back / close tab. Currently, this widget only activates if the user presses a button on the page, but may also be useful to add the ability to block other actions via the browser.
I believe this can be done by setting window.addEventListener('beforeunload', ...).