implement alert messages with alertify + rename lookupFieldName to searchFieldName