Closing as not a bug, the 'ButtonClose clicked' event does not actually contain a 'Browser: Close' action, and if I add it, it works (at least in Chrome). Note browsers do not always give you permission to close the current window; it depends how the window was opened, and whether the close request comes in a user-input event like a button click.