 		CUI.DataFieldInput::render.call(@)
 
 		if @_has_add_button
-			addButton = new CUI.Button
+			@__addButton = new CUI.Button
 				icon: "plus"
 				onClick: =>
 					lastRow = @__rowRegistry[@__rowRegistry.length - 1]?.data

		@__updateEmptyInRows()

		# makes sure that one empty row is at the end and not more
		while @rows.length > 0
			row = @rows[@rows.length-1]
			if row._empty
				# remove row


					@__appendRow(_new: true)
					@__updateView()
					@__storeValue()

		@__verticalLayout = new CUI.VerticalLayout
			maximize_horizontal: @__maximize_horizontal
			center: content: undefined
			bottom: content: @__addButton

		@append(@__verticalLayout)

