added active class to popup