add api for importing dialogues into the website