Close extraoptions popover when clicking anywhere else in the tree