Disable button when no publish option available.