Disable the bookmark icon in situations where bookmarking isn't possible (search results, doc directory).