Update chart color and display modal.