In progress: reimplementing the dialog box in Lua (#184).