update confirm modal js and strucutre, events fields