[GH-90] ensure wrapped callbacks still return correct value for prompt and confirm dialogs