implement unavailable buttons for word dom.