correct defattr for modattr (refs #3620)