Fixes #5484: Prevent saving Technique with a name already used