XWIKI-10458: Validate extension page before it's saved instead of after