duplicate of models.Room
refactor error dialogs