add entity key as hidden div