OK, I have seen this and fixed this multiple times. Do not poke holes with pins and the like. Is the dustcap polypropylene? Is it cloth? What size is the speaker?
In most cases, with a poly dust cap, duct tape works great. You will need a few things, a hair dryer (one that blows hot air), duct tape, and a scissors. Cut a length of duct tape 6" or so. Make sure the dustcap is free from dust and dirt. Warm the dust cap of the speaker and the tape with the hair dryer. Once warm to the touch, apply the tape over most of the dust cap. Press down gently so as to make sure the tape is sticking well. Let it sit for a couple minutes. Then, abrubtly and quickly remove the tape, with some force, in the opposite direction of the dent. It should pop it out. It has not failed me yet.
