Fix bugs with file update dialog