output a confirmation after a modifying action