
Assumed you have these documents opened in Kate:
/tmp/subfolder/test.h |
/tmp/test.cpp |
/tmp/test.txt |
Then you have the following options to close documents as displayed in the screenshot:
Use the checkbox in the last item of the list to enable or disable a confirmation dialog. The selected option will be applied to both close actions.