"Unsaved data" flow doesn't work properly
In the Launch tab of the new skills console, when you are working on language-specific metadata, there is a dialog that pops up if you haven't saved all of the information before navigating away. This flow does two things that it shouldn't do:
- The dialog will trigger if all you've done is click into a text box, even if you've made no change to that box.
- After resolving the dialog (discard or save), the page redirects you to the "privacy and compliance" sub-page, even if that's not the thing you clicked on to trigger the dialog in the first place. For example, trying to switch from en-CA to en-US after copying some text from an input will bring up the dialog (due to point #1); when you choose to discard the changes (of which there are none), you'll be redirected to "privacy and compliance" instead of to the en-US section.