implements a widget for creating catalog queries for Archetypes