confirm before delete remove from controller and move to view.