removed pop-up when closing