private void setNextPageIntoDocument(Page page) {
    runCaretAndSelectionListeningTransparentCommand(
      () -> documentOfPagesModel.addPageIntoEnd(page, dataProvider.getProject()));
  }
private void setNextPageIntoDocument(Page page)