Refactor AddSeriesModal