Changed error message functionality to be inline instead of relying on
jquery modal message.