Merge "Use getEnabledProfiles for ProfileSelectDialog" into main