added filter state for documents filter