replaced confirm: for data: {confirm: