factored out UI code to generate help bubbles into utility class