XWIKI-10514: Improve the display of the Tree View on Flamingo.

* Also fix the input field that shows the selected page name.