added module popup functionality