code: function() {
  			var self = this;
  			var modal_wrapper = $( '#' + self.scope.id );
  			var animation_type = self.options.animation;
  
  			if (animation_type === 'none' ){
  				modal_wrapper.removeClass('modaal-start_none');
  				self.options.after_open.call(self, modal_wrapper);
  			}
  
  			// Open with fade
  			if (animation_type === 'fade') {
  				modal_wrapper.removeClass('modaal-start_fade');
  			}
  
  			// Open with slide down
  			if (animation_type === 'slide-down') {
  				modal_wrapper.removeClass('modaal-start_slide_down');
  			}
  
  			var focusTarget = modal_wrapper;
  
  			// Switch focusTarget tabindex (switch from other modal if exists)
  			$('.modaal-wrapper *[tabindex=0]').removeAttr('tabindex');
  
  			if ( self.options.type == 'image' ) {
  				focusTarget = $('#' + self.scope.id).find('.modaal-gallery-item.' + self.private_options.active_class);
  
  			} else if ( modal_wrapper.find('.modaal-iframe-elem').length ) {
  				focusTarget = modal_wrapper.find('.modaal-iframe-elem');
  
  			} else if ( modal_wrapper.find('.modaal-video-wrap').length ) {
  				focusTarget = modal_wrapper.find('.modaal-video-wrap');
  
  			} else {
  				focusTarget = modal_wrapper.find('.modaal-focus');
  
  			}
  
  			// now set the focus
  			focusTarget.attr('tabindex', '0').focus();
  
  			// Run after_open
  			if (animation_type !== 'none') {
  				// CB: after_open
  				setTimeout(function() {
  					self.options.after_open.call(self, modal_wrapper)
  				}, self.options.after_callback_delay);
  			}
  		}
docs: Open Modaal ----------------------------------------------------------------