Remove dialogs from build.