Hi, it seems like the [Added ability to stop event propagation from onOpen and onClose props.](https://github.com/yjose/reactjs-popup/pull/74) is missing in version `2.0.4`. as `event` is undefined in `onClose`.