Added basic support for importing dialog modules.