In General, there
https://jsfiddle.net/ejk0grrg/ did everything I need. But I think too much happened.
The essence of such buttons in the slide is assigned a slide number that would pop-up need opened slide, find all the data slides, the Baha'is of them in json and build a pop-up according to this slider. It can is possible somehow easier to do all this?