fix active bug on popup by adding extra link