The comment that you see in the code is pretty self-explanatory - if you check the demo's codebehind page, you will notice the following code:
sender, EventArgs e)
RadWindow1.OpenerElementID = SofiaBtn.ClientID;
The same information is available in the demo's description.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items