anchor.diff:  
   </script>
   
  +<div id="filteringModal" class="modal fade" tabindex="-1">
  +  <div class="modal-dialog modal-sm">
  +    <div class="modal-content">
  +      <div class="modal-body">
  +        <i class="fa fa-spinner"></i> Filtering
  +      </div>
  +    </div>
  +  </div>
  +</div>
  +
   <h2>${model.title}</h2>
   
   <form method="post" name="events"
  
positive.code: /*******************************************************************************
   * This file is part of OpenNMS(R).
   *
   * Copyright (C) 2002-2014 The OpenNMS Group, Inc.
   * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
   *
   * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
   *
  
negative.code:     $('#regexp').prop('disabled', ueiLabel !== 'REGEX_FIELD');
    }
  
    var allUeiOptions = $("#uei > option");
    var unavailableUeiOptGroup = $("#uei > optgroup");
  
    function filterUeiList() {
      var filterText = $("#uei-list-filter").val().toLowerCase();
      $("#uei").empty();
      if (filterText.length == 0) {
        $("#uei").append(allUeiOptions);
        $("#uei").append(unavailableUeiOptGroup);
      } else {
        allUeiOptions.each(function ( index, element ) {
          if ( $(this).text().toLowerCase().indexOf(filterText) != -1) {
            $("#uei").append( $(this) );
          }
        });
      }
      $('#filteringModal').modal('hide');
      $('#uei-list-filter').focus();
    }
  
    $("#uei-list-filter").keydown(function(event) {
      if (event.which == 27) {
        event.preventDefault();
        if ($("#uei-list-filter").val().length > 0) {
          $('#uei-list-filter').val("");
          $('#filteringModal').modal('show');
        }
      }
    });
  
    $("#uei").keydown(function(event) {
      if (event.which == 27) {
        event.preventDefault();
        if ($("#uei-list-filter").val().length > 0) {
          $('#uei-list-filter').val("");
          $('#filteringModal').modal('show');
        }
      }
    });
  
    $("#uei-list-filter").keypress(function(event) {
      if (event.which == 13) {
        event.preventDefault();
        $('#filteringModal').modal('show');
      }
    });
  
    $("#filteringModal").on( "shown.bs.modal", function() { filterUeiList(); } );
  
    $("select#uei").change(function(e) {
      toggleRegexpField();
    });
  