.bs.modal", show_settings_in_textarea);

            function confirm_action(message = "Are you sure?") {
                return new Promise((resolve) => {
                    const settingsModal = document.getElementById("settingsModal");
                    const modalEl = document.getElementById("confirmModal");
                    const modalBody = document.getElementById("confirmModalMessage");
                    const cancelBtn = document.getElementById("confirmCancel");
                    const okB