Disable button when calling doc visualizer.