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.
See descriptions
.
Add people and move out without clicking Save does not show Discard change dialog.
Tested and Verified in 5.32
Hence closing