Make warning and modal background overlays sibling nodes rather than parent/child nodes.