I created a form with a window and unchecked the option "PB_Any" for this window.
When looking at the source of the form a constant #window_0 is used as intended. As soon I reopen the form #PB_Any is checked again.
BTW: This happens only when Option "New gadgets use #PB_Any by default" is activated in the preferences.