Dont refresh if closed