fixed #49 with simple confirm dialog