add PopWinManager to manage the usage of the popWins