fix: snapClose should honor snapId attribute