about_dialog: factored out WM_COMMAND handling.