Once the dimples are out, you can do some of the methods above such as having a plunger installed on the barrel, or you can simply buy an old style magazine spring retention "cup-washer" to hold the spring in the tube.
To prevent the magazine cap from vibrating loose, Brownell's sell a tension washer that fits between the cap and the barrel ring to keep it in place, or you can buy a large "0" ring.