assign dialogue in constructor