bug 952707

* Ensure error-message is visible and has been set before testing for presence of message.

r=gaye