Adding graph popup template