You have some muscles in that area that are not fully released and in that state they are easy to get to move into a pain area when you do a little jumping or movements like you would have in dancing. It's when the areas come together that the pain happens. When you release the muscles so that they are fully released this will no longer be able to happen. Here is how to release those muscles that are causing this pain:
Back:
(do from a sitting position)
Place your left hand on your left leg next to your body. Place your right hand over your left shoulder and find the muscles next to your spine and press on them and hold. After 30 seconds slowly lower your body forward and to the outside of your left leg, keeping your left arm fairly straight as you do. When you reach your lap remain there for another 10 seconds, release the pressure but rest there for another 30 seconds. Then reverse your hand positions and do your right side.