Player attribute bug

entering into an attribute’s edit page (I already had added the attribute but not saved it in the player type) and then pressing cancel will delete the attribute even though I was not trying to delete it, just exit out of the editing part