Bug fix: preventDefault on fail.