Add an 'onClose' callback option for Overlay