inject ui callback into running mam query