Just a small question about the state: why not show the page in beforeEnter and reset in afterLeave?