auto focuses input and submits on enter