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

(cherry picked from commit 5ecac8fd490b514d30a1ffcf02b8bfe59cd5f5a0)