Save orginal input for text elements