add hook validation to ajax controller. Cannot test at the moment due to broken core (upstream symfony) refs #225