## Description

Closes a previously opened panels when clicking on elements with a ``close-panel`` class on it.

The element with the ``close-panel`` class must be a child element of the panel which should be closed.

This pattern works together with:

- panels which are ``<dialog>`` elements
- ``pat-modal`` panels,
- ``pat-tooltip`` panels,
- ``pat-notification`` panels.
