Tag Selected: control the closing