Implemented onClose callback to options