Disable buttons when there are too few entities.