Kind of him to bid goodbye in the end (4)
I believe the answer is:
mode
'kind' is the definition.
(I've seen this in another clue)
'him to bid goodbye in the end' is the wordplay.
'him' becomes 'mo' (I can't justify this - if you can you should give a lot more credence to this answer).
'in the end' indicates one should take the final letters.
The last letters of 'bid goodbye' are 'de'.
'mo'+'de'='MODE'
'of' is the link.
Can you help me to learn more?
(Other definitions for mode that I've seen before include "Trend" , "Way of operating" , "Fashion in dome" , "Manner of dome" , "Way, style" .)