only focus the input if it is empty