Fixed bug in questionnaire create preview popup window.

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>