Move drawer hide and modal close into `onNewRoute`
Move drawer hide and modal close into `onNewRoute`

Let's stay consistent with previous behavior, and run these on "internal route change" (same component handles different route) as well as on initial render of a page component.

flarum/core,flarum/core,flarum/core