Attribute adding logic - UI