add gallery modal for topic page