I’m also running into the issue where the dialog nodes created in Awake() are deleted as soon as the editing of the new Dialog file is finished. When you create a new one, it wants you to type in a name for the file. Once you hit enter on that, whether given a new name or not, the dialog nodes disappear. A new root node has to be added via the inspector and doesn’t get a GUID for its Id as a result.
I see people complaining about this in 2021 and 2022 unity. Has a solution been found?