figured out adding attributes to generated form elements
basic event dialog working