bug fixes

fixed captions for gallery popups