removing confirm dialog