Add dialog classes to build.