Ajax add form, legacy redirecting