disable attribute buttons when limits are reached