For me, it worked perfectly. Then I exited Maya. Later on I opened Maya again, it asked me to add a button to the shelf (again?), so I clicked no, and it deleted my shelf. Thank goodness I always back up my shelves, but it was weird. By the way, 64bit Maya 2012, on Windows 7 64bit. Not sure if that information helps at all.