Display message when leaving the role form with unsaved changes

| Q                    | A
| -------------------- | ---
| Bug fix?             | N
| New feature?         | Y
| BC breaks?           | N
| CI currently passes? | ?
| Tests pass?          | Y
| Scenarios pass?      | Y
| Checkstyle issues?*  | N 
| PMD issues?**        | N
| Changelog updated?   | N
| Fixed tickets        | PIM-3046
| Doc PR               | ~