Here is a trick being used to hide multiple layouts on the same page: How to pass values between pages in dash