changed confirm: and submit_with: to data: {} to remove deprecation warnings