You know the text box is selected when a dashed line border with a circle in each corner and a square box at each midpoint appears around it.