test for gallery modal