diff --git a/modal_forms.pages.inc b/modal_forms.pages.inc
index f8b4d78..28669f4 100755
--- a/modal_forms.pages.inc
+++ b/modal_forms.pages.inc
@@ -226,7 +226,7 @@ function modal_forms_view_webform($js = NULL, $node) {
 
   // Get webform defaults.
   $title = check_plain($node->title);
-  $text = check_markup($node->webform['confirmation'], $node->webform['confirmation_format'], '', TRUE);
+  $text = check_markup(webform_replace_tokens($node->webform['confirmation'], $node), $node->webform['confirmation_format'], '', TRUE);
   $form_state = array(
     'title' => $title,
     'ajax' => TRUE,
