diff --git a/example/dialog_example.module b/example/dialog_example.module
index 3527b15..7e7b01d 100644
--- a/example/dialog_example.module
+++ b/example/dialog_example.module
@@ -71,7 +71,8 @@ function dialog_example_ajax_callback($ajax) {
 
     $commands = array();
     $commands[] = dialog_command_display($content, $options);
-    ajax_render($commands);
+    $return = ajax_render($commands);
+    echo $return;
   }
   else {
     // If the user isn't using JavaScript, just show the normal page.
