Discard Changes confirmation is not displayed when user makes some changes in System Roles page and clicks somewhere else
This issue was found while testing the PR: https://github.com/mattermost/mattermost-webapp/pull/6529
1. Login as sysadmin and visit System Console > System Roles page.
2. Click on Edit on one of the roles and make some changes. Do not save.
3. Click on some other page and notice that it does not displays "Discard changes" dialog.
QA Test Steps
Tested and Verified in 5.32
Add people and move out without clicking Save does not show Discard change dialog.