Fixing bug where ajax-loaded elements would not submit form data via ajax request.