 
 					@__appendRow(_new: true)
 					@__updateView()
-					@__removeEmptyRows()
 					@__storeValue()
 
 		@__verticalLayout = new CUI.VerticalLayout
 			maximize_horizontal: @__maximize_horizontal
 			center: content: undefined
-			bottom: content: addButton
+			bottom: content: @__addButton
 
 		@append(@__verticalLayout)
 

					@__appendNewRow()

				ev.stopPropagation()
				@__removeEmptyRows()
				@__storeValue()

		# CUI.dom.setAttribute(new_form.DOM, "cui-form-depth", @getFormDepth() + 1)

		CUI.DataFieldInput::render.call(@)

		if @_has_add_button
			@__addButton = new CUI.Button
				icon: "plus"
				onClick: =>
					lastRow = @__rowRegistry[@__rowRegistry.length - 1]?.data
