Optimization : one popup instance for everything