Displays modal dialog instead of alert on error from backend

Adds default error message and message for error code 403.

Fixes: http://issues.craftercms.org/browse/CRAFTERCMS-517