Root.querySelector(".modal").addEventListener('click', e => {
                e.stopPropagation();
            });
            this.shadowRoot.querySelector(".overlay").addEventListener('click', close('cancel'));
            this.shadowRoot.querySelector(".icon-close").addEventListener('click', close('cancel'));
            this.shadowRoot.querySelector(".cancel").addEventListener('click', close('cancel'));
            this.shadowRoot.querySelector(".ok").addEventListener('click', close('ok'));
            