When trying to kill a buffer that contains changes in Emacs, the message:
" Buffer [buffer] modified; kill anyway? (yes or no)" is displayed. 

Instead of this I'd like to have Emacs ask me if I want to:
 1. View a diff of what changed, 
 2. Save the buffer, 
 3. Kill the buffer.

How?