Maximum segment saving fix

Description

  • When a very large chart is created, when the save button is clicked, the editor closes even though the instance returned a 400 error because the save was unsuccessful