added .focus() and made the new inputs keep the atributes of the father input