Since the layout is nested, we need to look further for the main window. I don't know however if restoring layouts even works with MDI. Needs to be tested and implemented.