enter button detection for search