improve confirm dialog