uccessful.");
            }
          } catch (err) {
            alert("Fallback: Unable to copy: " + err);
          }
          textArea.classList.add("hidden");
        }
      }

      function openInboundModal(mode, tag) {
        var iframe = document.getElementById('inboundFormFrame');
        var modalTitle = document.getElementById('modalTitle');
        if (mode === 'add') {
          iframe.src = "{{ url_for('add_inbound', node_id=node_id) }}";
          modalTitle.textContent = "A