use data: {confirm:'text'} to get rid of rails 4.1 dep warning