macOS is using "dot on top of the Close button", to indicate both that there are unsaved changes, and that if you tried to close the window, you would get a prompt asking about unsaved changes.
Simpler, more elegant, better integrated solution, consistent across the whole OS.
"Asterisk in the Title Bar" is a very unrefined solution to the problem.