Dropdown buttons triggering even with deeply nested content. Close #4891.