I had a similar issue when adding macros to a palette. Peter solved it in the following post:
For more information, see the wiki Searching the Forum for Answers section.