dialog refactoring, delete unneccessary dialog classes