Fixed improper 'File modified...' reading when changing metadata.

After changing a file's metadata the dialog that pops up when the window is closed is correct now.