I added modal to the gallery.