 no-op */ }
          if (
            !iframe.contentDocument ||
            iframe.contentDocument.body.innerHTML.trim() === ""
          ) {
            console.error("Iframe loaded empty, reloading...");
            setTimeout(function(){ iframe.src = iframe.src; }, 1000);
          }
        };
        document.getElementById("inboundModal").classList.remove("hidden");
      }

      function closeInboundModal() {
        document.getElementById("inboundModal").classList.add("hidden");
  