Add "Customer not Found" to Autocomplete

Add "Customer not Found" to Autocomplete

I am using;

  1. $(function() {
           
            $( "#team_leader_name" ).autocomplete({
                source: "autosuggest/client_names_json.php",
                select: function( event, ui ) {
                    $( "#team_leader_contact_id" ).val( ui.item.value );
                    $( "#team_leader_name" ).val( ui.item.label );
                    return false;
                },
                minLength: 2,
            });
        });










to Return the names of some team leaders and return them to my form.

However I want to add the ability to add a choice "Customer not found" to pop up or link to another page/popup so a new customer can be added to the database, once added the site user is returned to the original page. Obviously my client_names_json.php will provide the latest database json with the new customer details as one of the choices.