Forms2Dialog: Automatic dialog generation for Web tasks