changed content widget to support target category for documents