pressing enter in textfield accepts entered text- it's ugly but it
works.