XWIKI-10928: Add default action on Add button to add a page.

* Fix failing test.

(cherry picked from commit 960a68b3f1b8f71f0ddee5b4802ee149ed93524d)
XWIKI-10928: Add default action on Add button to add a page.

* Fix failing tests.

(cherry picked from commit 2b3edd45b2b8ee752aed6bbeb24d0b0d59a1e037)