Confirm dialog fix