Merge FilterEditor and FilterDialog.