close tag menu after user click