adds delete to modal