While working on the Saved Search feature, we decided to leverage the Field Layout editor to define the search dialogs. This is something that we should have done a long time ago given how easy it was. Besides being a feature that customers have requested, it actually simplifies the search code.