added validation to delete project. If project has active tasks, project can't be deleted