override on closing method for client window