adds bg color to popup