Duplicate input when adding

The idea of the script is that it adds sections and text boxes to them. If I add one section and adds input to it, everything plays. However, when I add the other one - in one of them the prompt is duplicated and I can not get why, I put code to check what I mean.