Sync Dialog: Fix cannot show diff of added/deleted file