dialog class does now dispatch to concrete instance's dialogproc.