Title gets random artifacts from opening snackbars and dialogs
Describe the bug
Originally reported on Slack: https://gophers.slack.com/archives/C07ENRTB2F7/p1746463920427019
How to reproduce
Go to https://www.cogentcore.org/core/hello-world-tutorial, click on the Hello, World! button under Extending hello world, and observe that the title of the page becomes body • Cogent Core Docs.
This started happening at some point not too long ago.
Example code
Relevant output
Platform
macOS
This happens on the snackbar page too (https://www.cogentcore.org/core/snackbar).
Probably related: If you go to the dialog page (https://www.cogentcore.org/core/dialog) and click any of those buttons, the page title changes to the title of the dialog, and then changes back once you close the dialog.
So the problem seems to be that a) the snackbar has no title of its own so it defaults to "body", and b) it doesn't change the page title back when it (the snackbar) closes.