Implemented FilterDialog functionalities.