implemented DialElement.h/.m