           answer: false
         ])
 
-    addCheckboxItem: (block) ->
-      block.pushObject
-        type: "checkbox"
-        value: ""
-        answer: false
-
     saveBlock: (block) ->
       if @isNew(block)
         @get('model.body').pushObject(block)
         @get('newBlocks').removeObject(block)
+      @replaceBlock(block, @_pruneEmptyItems(block))
       @send('saveModel')
 
     resetBlock: (block, snapshot) ->

    position = blocks.indexOf(block)
    if position isnt -1
      Ember.EnumerableUtils.replace(blocks, position, 1, [otherBlock])

  actions:
    addTextBlock: ->

        @get('model.body').removeObject(block)
        @send('saveModel')

    addCheckboxItem: (block) ->
      block.pushObject
        type: "checkbox"
        value: ""
        answer: false

    deleteItem: (item, block) ->
      block.removeObject(item)
      if Ember.isEmpty(block)
