implement actionConfirm interface; bugs fix