%% Example: Confirmation Dialog Box with a Close Function
% This app shows how to display a confirmation dialog box that executes a
% callback when the dialog box closes.
%
% When the user clicks the window's close button (*X*), a dialog box displays to
% confirm that the user wants to close the app. When the user dismisses the dialog box,
% the |CloseFcn| callback executes.
%
% <<../confirmation_app_screenshot.png>>
%
% Copyright 2018 The MathWorks, Inc.