Hide dropdown upon clicking anywhere.