Procs
proc dialogText*(self: AcceptDialog): string {.
gcsafe, locks: 0.}proc `dialogText =`*(self: AcceptDialog; val: string) {.
gcsafe, locks: 0.}proc dialogHideOnOk*(self: AcceptDialog): bool {.
gcsafe, locks: 0.}proc `dialogHideOnOk =`*(self: AcceptDialog; val: bool) {.
gcsafe, locks: 0.}proc getOk*(self: AcceptDialog): Button {.
gcsafe, locks: 0.}proc getLabel*(self: AcceptDialog): Label {.
gcsafe, locks: 0.}proc addButton*(self: AcceptDialog; text: string; right: bool = false; action: string = ""): Button {.
gcsafe, locks: 0.}proc addCancel*(self: AcceptDialog; name: string): Button {.
gcsafe, locks: 0.}proc registerTextEnter*(self: AcceptDialog; lineEdit: Node) {.
gcsafe, locks: 0.}