Lopez's abs were on full display at the dance studio.