Added functionality for allow new item when auto complete turned on