implement metadata dialog for Stackedbar chart