My first MacBook did about the same thing... Every time i laid my hands on the rest it would click (not from the battery door but because it was hitting the HDD) and they replaced it for me (had a couple of other issues as well).
So you need to take it in and have them look at it, because it might have other issues as well.. Good luck.