Hide the filters when the user clicks on the legend field