Add prompts for actions on buffer delete and rename

Added a prompt to rename or delete the corresponding buffer for a
modified file.