Adding Confirmation modal service to the root of our React app

correct, the modal itself will prevent close on outer click,
but the dropdown which in this case kinda wraps the modal does, leading to unexpected behavior, though with the Redux implementation the modal will remain open without any special workaround.