PIM-838 : Add behat scenario to test message when there is unsaved changes

Bug fix: [yes]
Feature addition: [yes]
Backwards compatibility break: [no]
Unit test passes: [yes]
Behat scenarios passes: [yes]
Checkstyle issues: [no]*
Fixes the following jira:
 - PIM-838