add metric for plugin dialog