switch to ctx
Controller::Query & ctxRunCmd with onload and ondispatch callbacks