added DialogViewer-class