Confirm dialog callback fix