add doc frame top panel hook