hide button for void document