Prevent closing popup if there's a notification message
On some popup, there's a notification displayed when leaving a field. (Party identifier notify when using duplicate code for instance).
But if user, click on "Ok" button directly, popup is closed and notification is not displayed.
In this case, closing should be aborted to display notification.