Fix confirmation dialog is a duplicate

http://osc.matsukei.net/issues/446 fixes #446