fix #477 Template not disposed on page navigation

When navigating from one page to another without animations, templates were not disposed.