Currently if you're creating or editing a Custom Assistant and for whatever reason accidentally press the button or keyboard shortcut to close your tab or navigate to a different page. Everything is gone.
It would be nice if that page had a beforeunload event set https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event
it makes sense that a lot of page on the settings page don't have it, because it auto saves. but this page doesn't auto save.