code: def __init__(self, *args, **kwargs):
      super(DialogUI, self).__init__(*args, **kwargs)
      # ATM doesn't make sense to print the same title for subsequent questions
      # so we will store previous one and not show it if was the previous one shown
      # within 5 seconds from prev question
      self._prev_title = None
      self._prev_title_time = 0
  
imports: from logging import getLogger
  import os
  import sys
  import time
  import getpass
  from collections import deque
  from copy import copy
  from ..utils import auto_repr
  from ..utils import on_windows
  from .base import InteractiveUI
  from datalad.support.exceptions import CapturedException
label_desc: Use image node_id 1 to create a new DialogUI object from inherited base classes: ConsoleLog, InteractiveUI with example: obj = DialogUI()