Fix keyboard control of input. Focus input on open