require dialog.inc