added confirmation dialog to reset button