Con:

OnBlur="self.close();"

hai provato?