         success: dfd.resolve
         error: dfd.error
     else
+      block = new Block source: link.get('href')
       blocks.create block.toJSON(),
         url: "#{sd.API_URL}/channels/#{selectedChannel.get('slug')}/blocks"
         success: dfd.resolve

    dfd = Q.defer()
    blocks = @blocks
    selectedChannel = @selectedChannel
    block = new Block source: link.get('href')
    existingConnections = link.get('connections') or []
    @createOrConnectBlock.then (block) ->
        connections = existingConnections.concat [
          {
            title: selectedChannel.get('title')

    @status.set
      selecting: false
      connecting: false
    @selectedChannel.clear()

  showError: (e) ->
    console.log('error', e, e.stack)
