Controlgroup: Clarified comment.
Navigate event: Create a custom event called "beforenavigate" so that, when someone binds to "beforenavigate", the "navigate" event will be initialized.
Popup: Make it work as a widget on its own. Fixes #5742.