Optional close confirmation

Antenore Gatta (tmow) requested to merge ref/confirm_close into master

This patch amends the commit dbd73dcb adding an option for those not wanting to confirm.

Fixes #2122 (closed) comment note_848622269

@emmguyot FYI

Merge request reports