It is possible that the ask and answer dialog assets are not being included in the build. Try this:
- Open the Standalone Application Settings from the File menu.
- Go to the General tab.
- Click the radio button "Select inclusions for the standalone application".
- Go to the Inclusions tab.
- Scroll down until you find the Answer Dialog and Ask Dialog options, and check those.
Re-build your project and see if that solves the problem. Please note that if you choose to select inclusions manually you will have to check all of the libraries, widgets, and other assets that you are using in the stack.
When the "Search for required inclusions" option is chosen in the General tab, the Standalone Application Builder is supposed to scan the stack contents and include everything that's needed automatically. But it doesn't always catch everything, so many experienced LiveCode developers always do this step manually.