updateVersionAssets = function() {
        var updatedVersion = _.find(DataService.data, {
          id: version.id
        });

        if (!updatedVersion) {
          // The version no longer exists
          return $uibModalInstance.close();
        }

        $scope.version.assets = updatedVersion.assets;
      }
Updates the modal's knowlege of this version's assets from the one
maintained by DataService (which should be up to date with the server
because of SocketIO's awesomeness.