       $this = $(el)
       moveName = $this.val()
       @buttonify($this, moveName)
+    this
 
   renderModal: =>
     if $('#import-team-modal').length == 0

    $moves.first().addClass('active')
    $table.removeClass('hidden')

  hideMoves: =>
    $table = @getActivePokemonView().find('.table-moves')
    $table.addClass('hidden')

  selectMove: (e) =>
    $this = $(e.currentTarget)
    moveName = $this.data('move-id')
    $moves = @getActivePokemonView().find('.selected_moves')
    $input = $moves.find('input').first()
    @buttonify($input, moveName)
    $moves.find('input').first().focus()

    # Record moves

          $nextMove.addClass('active')
      else
        # Otherwise we're filtering moves
        moveName = $input.val()
        @filterMovesBy(moveName)

  filterMovesBy: (moveName) =>
