fix #5671: add filter element for selection dialog