dialog xml and other stuff, very very experimental