Autocomplete trigger when there are no results?

Autocomplete trigger when there are no results?

Can I do this with autocomplete?
What I would like to do is that if there is no matching results the
words "Add a new one..." will appear in the drop down. Then I'd like
to trigger an action when it's clicked.
Any way to do that?
Thanks.
--