Compute Dialog Refactoring.