XWIKI-10848: After adding a gadget the page reloads
- Using the History API to update the URL with the current category.
- Using the back/forward button to navigate through our custom history entries is also supported.