Problems Adding Tags to Elements

Hi all. I am trying to attach tags to some elements in a collection. Whenever I use the “edit dataset tags” function, the tag disappears after closing the collection. What could be the cause of this issue?

I don’t have this problem when adding tags to the whole collection or to datasets which aren’t part of a collection.