src: added confirm dialog