refactor so delete actions make more sense, e.g. not calling the confirm modal from the view