fixed sometimes install dialog does not want to close