Handle creating and duplicating dashboards in the dashboard repository, add a getType() operation so the UI can enable controls based on the repository type