resolve #16 by adding a confirm dialog