React-modal can throw errors when wrapped in devtools, e.g. in the kanban example. A quick fix was introduced here, but it probably won't work for all modals: https://github.com/prodo-ai/prodo/pull/97/commits/10f1629fe9c52cb6baa64f27761bb9483ed0c11c