Dialog

I don't know anything about this code, but it doesn't look right that the callback is changing here.