CloseWatcher

The CloseWatcher API listens and responds to close requests on in-page components, such as modals, popovers, and sidebars.