[fixed] check if the modal content is available when async update... (#1)
[fixed] check if the modal content is available when async update... (#1)

It seems that the using redux, we can get a async update in which can fail
when trying to focus the content of the modal.

This should be a temporary fix since the issue is hard to reproduce,
but safe for other applications.
springload/react-modal,reactjs/react-modal,seanich/react-modal,rackt/react-modal,bluSCALE4/react-modal,rackt/react-modal,diasbruno/react-modal,springload/react-modal,reactjs/react-modal,bluSCALE4/react-modal,diasbruno/react-modal,springload/react-modal,reactjs/react-modal,bluSCALE4/react-modal,seanich/react-modal,seanich/react-modal,diasbruno/react-modal