A process that is carried out at the cellular level which results in the assembly, arrangement of constituent parts, or disassembly of a terminal button. A terminal button is the terminal inflated portion of the axon, containing the specialized apparatus necessary to release neurotransmitters.