add Confirm dialog before closing
release 0.1.6