autofocus to input element when ready