Add visual indicator when a fatal failure occurs

When a fatal failure occurs, a error indicator is added to the status bar, flashes red once, and then turns back to transparent background.

A modal dialog will open when the indicator is clicked, reporting the error, and providing a way to go to the error in the document.

The status bar indicator will go away as soon as Reporter.prototype.checkFatal returns false (no more fatal error).

The formatting and text can probably be worked on, but this is my initial commit for this subject.
What would the best way be to fire of such a message? I would guess it involves JQuery, and since I'm not too familiar with JQuery, I'm not sure where to start.