added confirm dialog to call