hotfoot for closing applications