Minor: could be done like `scope.close = scope.options.close || function() {element.toggle();};