      saveBtn.textContent = "Save";
        }
      }

      window.addEventListener("message", function(event) {
        if (event.data && event.data.type === "inboundSaved") {
          closeInboundModal();
          const saveBtn = document.getElementById("saveButton");
          if (saveBtn) {
            saveBtn.disabled = false;
            saveBtn.textContent = "Save";
          }
          var notif = document.createElement("div");
          notif.className = "notification";
          