Bug 1061215 - [Messages][Refactoring] Improve handling of remaining chars counter. r=schung

what does waitForElement exactly? Because this element is displayed already, so what does it do here?