added modal to gallery also