the onblur handling made it impossible to select an item. this is better.