Add modal feature for gallery images.