tn = document.getElementById("confirmOk");

                    settingsModal.classList.add("dimmed");
                    modalBody.innerHTML = message;

                    const modal = new bootstrap.Modal(modalEl);
                    const onCancel = () => {
                        resolve(false);
                        modal.hide();
                    };
                    const onConfirm = () => {
                        resolve(true);
                        modal.hide();
                    };
 