[GUI] Name of a new state/component should be suffixed to be unique
- add a component to a component architecture (->name “Component”)
- add another component
Observe: name is “Component”
Expected: name is “Component1”
Same for states in state machines
(from redmine: issue id 2572, created on 2016-05-03, closed on 2016-08-01)