code: function() {
  			this.writeDebug('modalWindow');
  
  			if (this.settings.modal !== true) {
  				return;
  			}
  
  			var _this = this;
  
  			// Callback
  			if (_this.settings.callbackModalOpen) {
  				_this.settings.callbackModalOpen.call(this);
  			}
  
  			// Pop up the modal window
  			$('.' + _this.settings.overlay).fadeIn();
  			// Close modal when close icon is clicked and when background overlay is clicked
  			$(document).on('click.'+pluginName, '.' + _this.settings.closeIcon + ', .' + _this.settings.overlay, function () {
  				_this.modalClose();
  			});
  			// Prevent clicks within the modal window from closing the entire thing
  			$(document).on('click.'+pluginName, '.' + _this.settings.modalWindow, function (e) {
  				e.stopPropagation();
  			});
  			// Close modal when escape key is pressed
  			$(document).on('keyup.'+pluginName, function (e) {
  				if (e.keyCode === 27) {
  					_this.modalClose();
  				}
  			});
  		}
docs: Modal window setup