Fixed the issue with duplicating a file while in CellML Annotation view (closes #287).