@Override
      public void contextAction(@NotNull SuspendContextImpl suspendContext) {
        if (dialog.isDisposed()) {
          return;
        }

        EvaluationContextImpl evaluationContext = new EvaluationContextImpl(suspendContext, suspendContext.getFrameProxy());
        MemoryAgent memoryAgent = MemoryAgent.get(evaluationContext);
        Disposer.register(dialog.getDisposable(), () -> memoryAgent.cancelAction());
        memoryAgent.setProgressIndicator(dialog.createProgressIndicator());
      }
@Override
      public void contextAction(@NotNull SuspendContextImpl suspendContext)