     tagName: 'form'
     attributeBindings: ['in-async']
 
-    'in-async': undefined
+    'in-async': null
 
-    'close-if-error': true
+    'close-if-error': false
 
-    error: undefined
+    error: null
 
     ###*
     # Handle form submit event.

        @sendAction 'on-submit', @, e
        if e.promise and "function" is typeof e.promise.then
            @set 'in-async', 'true'
            e.promise.then(=>
                @set 'in-async', undefined
                @close()
            , (err) =>
                @set 'in-async', undefined
                @set 'error', err
                @close() if @get('close-if-error')
            )

            @close()
    ).on('submit')

    close: ->
        @set 'error', null
        @_super.apply @, arguments

`export default ModalForm`