Adding popup template