blur search on enter or escape