added todo comment for transition end handling
started uintroducing commonJS syntax and tok domUtils into separate module
added abiliity pass in a config for a new dialog type
put dialog object in its own commonJS module