Add more functionality in metric add popup