Don't use anonymous method for close click handler.