Using doT templates to render dialog layout. Temporarily included the
compiled function to akno source, it will be removed soon in favor of
requirejs module.