Callback has $dialog in `this`

FIX #222