Feature detects dialog support before polyfilling
Feature detects dialog support before polyfilling

* Removes onCloseClick prop
* Opens/closes dialog on componentDidUpdate depending on props.isOpen
* Replaces ref to dialog element with ReactDOM.findDOMNode(this)

sanity-io/sanity,sanity-io/sanity,sanity-io/sanity,sanity-io/sanity