                 title: 'Please Login'
                 onCancel: null, onOk: attemptLogin, show: true,
                 buttons: [{ title: 'Login', style: 'primary', eventKey: 'ok'}]
-                body: ->
-                    <Lanes.Access.LoginDialog model={session} attemptLogin={attemptLogin} />
+                body: (props) ->
+                    <Lanes.Access.LoginDialog
+                        {...props}
+                        model={session}
+                        attemptLogin={attemptLogin} />
             )
 
 


                    <LC.Input
                        model={@model}
                        onEnter={@props.attemptLogin}
                        autoFocus writable
                        name="login"
                        label='Username'

                    <LC.Input
                        writable
                        model={@model}
                        onEnter={=> @props.attemptLogin(@props.modal)}
                        name="password"
                        type='password'
                        label='Password'
