Creating new items in a dataset

I have created a “masonry” pro gallery, and have connected the images within to a dataset. The dataset is connected to an upload button and a submit button. On other websites I have done this on (I have done this before on slider galleries), a new item is added to the gallery, but now, it for some reason just replaces the other items in the set. Can someone please suggest what may be wrong?