Make "enter" key work in input elements.