add Api: Create and Get dialog
Add dialog repository test
implements dialog repository
implements repository with a random failure