         # Poll until repo becomes available
         pollRepo = () =>
           @model.getRepo()?.getInfo('').done (info) =>
-            # TODO: Clear feedback
             require ['backbone', 'cs!controllers/routing'], (bb, controller) =>
               # Filter out the view bit, then set the url to reflect the fork
               v = RegExp('repo/[^/]*/[^/]*(/branch/[^/]*)?/(.*)').exec(



    organisationModal: (info, orgs) ->
      $modal = @$el.find('#fork-book-modal')
      $body = $modal.find('.modal-body').empty()

      # Own account

      @_forkContent()

    _forkContent: () ->
      # If user has more than one organisation, ask which one.
      @model.getClient().getUser().getInfo().done (userinfo) =>
        @model.getClient().getUser().getOrgs().done (orgs) =>
          if orgs.length > 1
            @organisationModal(userinfo, orgs)
          else
            @__forkContent(userinfo, userinfo.login)

    __forkContent: (userinfo, login) ->
      # If repo exists, go to it or cancel. Else fork.
      if userinfo.login == login
        # Forking into own space
        promise = @model.getClient().getUser().getRepos()
      else
        # Forking into organisation
        promise = @model.getClient().getOrg(login).getRepos()

      # Check if repo exists
      reponame = @model.getRepo().git.repoName
      promise.done (repos) =>
        existing = _.findWhere(repos, {name: reponame})
        if existing
          # TODO: Present choice of cancel, or take me there
          alert('You already have a copy of this bookshelf')
        else
          @___forkContent(login)

    ___forkContent: (login) ->
      $modal = @$el.find('#fork-progress-modal')
      $body = $modal.find('.modal-body')
      $body.html('Creating a Fork...')
