added modals to gallery
Added modal gallery
Fixed pagination in gallery