I don't use this function (preferring simple PHP includes instead), but I just tried it out and found the same thing. However, I had selected the item in Code view. I switched to Design view and the button was active.
So, highlight the data for the library item in Design view, or highlight it in Code view and then switch to Design view before saving the item.
See if that helps.