Close header context menu after changing grouping values.