changed pop up bg colour to variable