message: Check if pages available in survey dispose
diff: @@ -1713,7 +1713,11 @@ export class SurveyModel extends Base
  return isMobile() || this._isMobile;
  }
  public get titleMaxWidth(): string {
  - if (!this.isMobile && !this.isValueEmpty(this.logo) && !settings.supportCreatorV2) {
  + if (
  + !this.isMobile &&
  + !this.isValueEmpty(this.logo) &&
  + !settings.supportCreatorV2
  + ) {
  var logoWidth = this.logoWidth;
  if (this.logoPosition === "left" || this.logoPosition === "right") {
  return "calc(100% - 5px - 2em - " + logoWidth + ")";
  @@ -5846,6 +5850,7 @@ export class SurveyModel extends Base
  public dispose() {
  super.dispose();
  this.editingObj = null;
  + if (!this.pages) return;
  for (var i = 0; i < this.pages.length; i++) {
  this.pages[i].dispose();
  }
  