Adding documentation, including diagrams, for button expansion