demos: Fix internal state when loading pages dynamically
demos: Fix internal state when loading pages dynamically

Change-Id: I4e34da0c6bbcbdffe83da9ad7f468edf097fceeb

wikimedia/oojs-ui,wikimedia/oojs-ui,wikimedia/oojs-ui,wikimedia/oojs-ui