pattern-based filtering of the module tree - the grotesque offspring of
an ElementTreeSelectionDialog and an ElementListSelectionDialog