Copy both the diagram and the diagram's element when saving