fix(filter): improve validation of edit/create filter dialog

related to CAM-2807