saving the text widget state in the thingsToAdd object