pressing enter in inputs submits the part