Visiility of the sidebar

In the main layout I defined the sidebar. In the sidebar there is a panel menu. It all works with no flow but during development in Radzen Studio whatever page I am designing (editing) sidebar from the main layout steals my view and it is pretty annoying.
In the main layout I defined a variable that controls the expanding of the sidebar as "false" and for the sidebar it works but on other pages it is obviously not visible. So I see my sidebar now in all places that I do not need, only in a place that it can be visible, it is possible to control it.
How can I remove this sidebar on other pages besides the main layout?

Since the sidebar is part of the MainLayout the only way to not have it in some page is to use different layout for this page.

Or to simply switch off Layout in the designer window. Sorry for my ignorance.