[scala] Add #on("validate") that uses AjaxFormValidatingBehavior