@firefoxwebdevs Something I noticed in the example is that if the browser does not support CloseWatcher, the "Close" button does not work.
I get that the button's event listener calls watcher.close() for demonstration purposes, but I feel that in production it would be more appropriate to call closeSidebar() instead, maybe the accompanying text should reflect that?