updated confirmation_dialog. implemented issue #288