1030366: Hidden toolbar is not really hidden when editing contact, r=yzen

Instead of sleep use:
self.wait_for_condition(lambda m: len(contacts.contacts) == 1)