code: func alert(pages *tview.Pages, id string, message string) *tview.Pages {
  	return pages.AddPage(
  		id,
  		tview.NewModal().
  			SetText(message).
  			AddButtons([]string{"确定"}).
  			SetDoneFunc(func(buttonIndex int, buttonLabel string) {
  				pages.HidePage(id).RemovePage(id)
  			}),
  		false,
  		true,
  	)
  }
docs: // alert shows a confirmation dialog.