Fix compare dialog