Layout 0 and layout 1 are independent.
So you will need to set some sort of check (global variables might be used) from your layout 0, and check in a "On start of layout" event in layout 1 what is the value for the check, and accordingly display or hide elements.
Example capx (made in r112)