Fucntion that will return the Map with all the gallery instances at the page
the ids of every Gallery instance
Fucntion that will return the Map with all the gallery instances at the page