Close select dropdown if clicked anywhere on the document
Correct tabindex thanx to bbarwick-precisiondevelopment's fix