Hi I see error message
Uncaught Error: Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref.
Uncaught TypeError: Cannot read property 'componentWillLeave' of undefined
when I try to use code like this
<Modal transitionName='fade' closeOnEsc={true} closeOnOutsideClick={true} close={this.closeModal}>
<MyComponent />
</Modal>
So the problem is that I can't close modal window.