dialog refers to the return value of Dialog:Create
Open
dialog:Open opens the dialog and awaits the results.
Example
client/example.lua
local dialog = Dialog:Create('Title');
dialog:AddCheckbox('Checkbox', 'Are cats cool?');
local results = dialog:Open(); -- returns all inputs in order
-- Example: [true, 'Text', 12]
print(results[1]) -- If the box is checked or not