added dialog callback documentation