ENYO-2774: send the error through the designer instead of using old fashioned alert

The error is sent as a message to the Designer and will be displayed by Ares,
not by the iframe.