adds text wrapping for popups in results (MINE-147)