Hide publish button if doc is not readied