XWIKI-10848: After adding a gadget the page reloads
- Removed leftover debugging code