code: function() {
  			var self = this;
  			var modal_wrapper = $( '#' + self.scope.id );
  
  			// CB: before_close
  			self.options.before_close.call(self, modal_wrapper);
  
  			if (self.xhr !== null){
  				self.xhr.abort();
  				self.xhr = null;
  			}
  
  			// Now we close the modal
  			if (self.options.animation === 'none' ){
  				modal_wrapper.addClass('modaal-start_none');
  			}
  
  			// Close with fade
  			if (self.options.animation === 'fade') {
  				modal_wrapper.addClass('modaal-start_fade');
  			}
  
  			// Close with slide up (using initial slide down)
  			if (self.options.animation === 'slide-down') {
  				modal_wrapper.addClass('modaal-start_slide_down');
  			}
  
  			// CB: after_close and remove
  			setTimeout(function() {
  				// clone inline content back to origin place
  				if (self.options.type == 'inline') {
  					$('#' + self.scope.id + ' .modaal-content-container').contents().detach().appendTo( self.scope.source )
  				}
  				// remove markup from dom
  				modal_wrapper.remove();
  				// CB: after_close
  				self.options.after_close.call(self);
  				// scope is now closed
  				self.scope.is_open = false;
  
  			}, self.options.after_callback_delay);
  
  			// Call overlay hide
  			self.modaal_overlay('hide');
  
  			// Roll back to last focus state before modal open. If was closed programmatically, this might not be set
  			if (self.lastFocus != null) {
  				self.lastFocus.focus();
  			}
  		}
docs: Close Modal ----------------------------------------------------------------