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