fix diff dialog