Open a file's diff from the commit dialogs (#4228)