Fixes #6004: Add a popup to set 'metrics' property

This seems to not care about the user for which the pop-up is going to be display. It should. But I'm not sure how to do it...