add confirmation vars to view