Added click-pause-popup functional