autofocus the input when it appears