Tagging: reset the filter when hiding the widget

When hiding the filter widget the filtering is reset, and when
showing it again the filtering is restored back.