Code:
		itemDef
		{
			name			"warn"
			visible			1
			textstyle		ITEM_TEXTSTYLE_SHADOWED
			origin			320 395
			textfont		UI_FONT_NORMAL
			dvar			"perk_warn"
			textalign 		ITEM_ALIGN_CENTER
			textscale		.35
			forecolor		1 1 0 1
			decoration
That shows a dvar "perk_warn". Is this the one you say shows the warning? Because if it is, it isn't working the second time you open the menu because you aren't setting the right dvar. I see your dvar as "warn". Shouldn't it be "perk_warn"?

Maybe I missed something.