show failed message in error box instead of success box
fix redirect after ajax submit

git-svn-id: https://plugins.svn.wordpress.org/formidable/trunk@813945 b8457f37-d9ea-0310-8a92-e5e31aec5664