close = () => {
    const shouldClose = safeInvoke(onBeforeClose)
    if (shouldClose !== false) {
      setStatus('exiting')
    }
  }
Overlay is essentially a wrapper around react-transition-group/Transition