* Fixed selecting correct sidebar item after destroying temporary page.