Do not call super if text is not empty