Fixed a bug preventing the same demo from being opened twice in a row when in single pane mode.