added modal view when we receive an app/error event

be sure the go to the view /view/error instead of view/error so that it can work from both root index and all the subpages. Additionally, optionally display the message from the error if it exists by waiting for pageLoad and editing in the text