[PDF export] Fix to match refactored Dialogue* classes