Fix arugments passed to hidden dialog questions. Fixes #1307.