use the correct UI and use the mappings for the config when calling the filter
remember which tabs have been selected to re-select the last tab when the selected tab is closed