removes onclosenodereplaced from vault