docstr: Return FormDialog instance
code: def get_dialog(self):
      """Return FormDialog instance"""
      dialog = self.parent()
      while not isinstance(dialog, QtWidgets.QDialog):
          dialog = dialog.parent()
      return dialog
  
imports: from ast import literal_eval
  import copy
  import datetime
  import logging
  from numbers import Integral, Real
  from matplotlib import _api, colors
  from matplotlib.backends.qt_compat import _to_int, QtGui, QtWidgets, QtCore
label_desc: Use image node_id 2 for calling the FormWidget obj's underlying member method code with example usage: obj.get_dialog() and returns: dialog