In this function context, `options` refers to the parameter, not the module var declared on line 12. You'll need to explicitly store the param in the module var to use the object in `_closeModal` (which I think is how it's done in the current incarnation).