A member of a gang of al-Qaida-linked terrorists plotting attacks on Britain had attempted to buy a radioactive dirty bomb, a prosecutor told a jury trying seven men on terrorism charges.