SWC-1596: fix confirm dialog