modified tnp1-popup to open-popup