loading projects from DB for Dialog