moved enabled attribute to DomElement