close pseudo selectbox when clicking anywhere