             </BS.Modal.Header>
 
             <BS.Modal.Body style={maxHeight: @context.viewport.height - 250}>
-                <Body modal={@} />
+                <Body ref="body" {...@props} modal={@} />
             </BS.Modal.Body>
 
             <BS.Modal.Footer>{buttons}</BS.Modal.Footer>

    getInitialState: ->
        show: false

    onOkButton: -> @state.onOk?(this)
    onCancelButton: -> @state.onCancel?(this)
    onButton: (btn) ->
        @selected = btn
        @_hide() if @state.autoHide
        if btn.eventKey is 'ok'
            @onOkButton()
        else
            @onCancelButton()

    componentWillReceiveProps: (nextProps) ->
        @replaceState(nextProps)

            button.eventKey ||= (button.key or button.title).toLowerCase()
            <BS.Button key={button.title}
                bsStyle={button.style || 'default'} className={name}
                onClick={_.partial(@onButton, _, button)}>{button.title}</BS.Button>

        cls = _.classnames('lanes-modal', @state.className, @context.uistate?.layout_size)
        Body = @state.body
