Displays modal dialog instead of alert on error from backend

Adds default error message and message for error code 403.
Merge pull request #95 from quiaro/master

Displays modal dialog instead of alert on error from backend