procedure to reproduce the problem:
- open toc editor
- create any number of entries as you wish
- click on "new entry inside this entry"
- click "cancel" (this step is the key to reproduce this problem)
- click "okey"
then, all edits made earlier would be lost.