dd New Inbound";
        } else if (mode === 'edit') {
          var editUrlTemplate = "{{ url_for('edit_inbound', node_id=node_id, inbound_tag='__TAG__') }}";
          iframe.src = editUrlTemplate.replace('__TAG__', encodeURIComponent(tag));
          modalTitle.textContent = "Edit Inbound";
        }
        iframe.onload = function() {
          try {
            if (iframe.contentWindow.switchTab) {
              iframe.contentWindow.switchTab('form');
            }
          } catch(e) { /*