Dataset not operating as expected

Now, although I don’t quite understand the question.The issue
Sounds like it’s from using wixData.save() . Try using wixData.insert().

"The save() function returns a Promise that resolves to the inserted or updated item after it has been added or updated in the specified collection."

For more detailed information
https://www.wix.com/velo/reference/wix-data/save