Leaving automation page doesn't warn about unsaved changes

While working on an automation, only the back arrow in the top left prevents the user from leaving the page if they have unsaved changes. Clicking any of the other buttons on the sidebar discards the changes and changes to the new screen.

I’ve done this twice today @_@