Fix formatting in pop-ups (removing stray commas)