improved basic filter template, automatically open minimized section if added to