WICKET-5644 prevent non-Ajax submit