Hides popover on esc press
Same range if parents are the same