Close select box when user clicks away