Thank you Stu,
I found solution. I was wrong with p_web.site.CloseButton.TextValue instead of that I need p_web.site.BrowseCloseButton.TextValue.
I put my code into ! Start of "Before Close Button" and it works.
I notice something that one may call it bug or feature, whatever he likes.
There is several routines which have embed ! Start of "Before Close Button" and if you edit one all are updated in code. My opinion it is a but.
Best regards,
Djole