refactored attribute widgets (removed entity/attribute dependencies)