added arguments to confirm funciton in view for modals.  Should have branched