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

					@__appendNewRow()

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

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


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

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

		@append(@__verticalLayout)

