Thanks, it’s really simple!
But after putting this JS code I get my second popup regardless of its session. Can I check if the session of the popup is not expire?
I need something like this but I don’t know how to do it:
$('#popmake-123').on('popmakeAfterClose', function () {
setTimeout(function () {
if (session-124) { //some variable to check the session
$('#popmake-124').popmake('open');
}
}, 5000);
});