edit the logical of filter dialog