Close tag settings menu on transition

Closes #4504

- Adds a `willTransition` action that closes the tag settings menu when transitioning to another page