beginnings of saving text widget state back to server. Only the adding of headers is captured and discard does not undo edits