Make filter on list dialog works