fix selectOnBlur when closed by means other then tab key. fixes #470