docs: function() {
  			var self = this;
  			var id = self.options.instagram_id;
  			var content = '';
  
  			var error_msg = 'Instagram photo couldn\'t be loaded, please check the embed code and try again.';
  
  			self.build_modal('<div class="modaal-content-container' + ( self.options.loading_class != '' ? ' ' + self.options.loading_class : '' ) + '">' + self.options.loading_content + '</div>' );
  
  			// ID exists, is not empty null or undefined.
  			if ( id != '' && id !== null && id !== undefined ) {
  				// set up oembed url
  				var ig_url = 'https://api.instagram.com/oembed?url=http://instagr.am/p/' + id + '/';
  
  				$.ajax({
  					url: ig_url,
  					dataType: "jsonp",
  					cache: false,
  					success: function (data) {
  						
  						// Create temp dom element from which we'll clone into the modaal instance. This is required to bypass the unusual small thumb issue instagram oembed was serving up
  						self.dom.append('<div id="temp-ig" style="width:0;height:0;overflow:hidden;">' + data.html + '</div>');
  						
  						// Check if it has loaded once before.
  						// This is to stop the Embeds.process from throwing and error the first time it's being loaded.
  						// private_options are individual to a modaal_scope so will not work across multiple scopes when checking if true, only that one item.
  						if ( self.dom.attr('data-igloaded') ) {
  							window.instgrm.Embeds.process();
  						} else {
  							// first time it's loaded, let's set a new private option to use next time it's opened.
  							self.dom.attr('data-igloaded', 'true');
  						}
  
  						// now set location for new content
  						// timeout is required as well to bypass the unusual small thumb issue instagram oembed was serving up
  						var target = '#' + self.scope.id + ' .modaal-content-container';
  						if ( $(target).length > 0) {
  							setTimeout(function() {
  								$('#temp-ig').contents().clone().appendTo( target );
  								$('#temp-ig').remove();
  							}, 1000);
  						}
  						
  					},
  					error: function() {
  						content = error_msg;
  
  						// now set location for new content
  						var target = $('#' + self.scope.id + ' .modaal-content-container');
  						if ( target.length > 0) {
  							target.removeClass( self.options.loading_class ).addClass( self.options.ajax_error_class );
  							target.html(content);
  						}
  					}
  				});
  
  			} else {
  				content = error_msg;
  			}
  
  			return false;
  		}