chore(filter): refactor filter dialog

related to CAM-2982