Support element selector that spans over multiple DOM elements in overlay component