docs: function () {
  				var transitionDone,
  				    self = this;
  				// remove reference from queue
  				queue.splice(0,1);
  				// if items remaining in the queue
  				if (queue.length > 0) this.setup(true);
  				else {
  					isopen = false;
  					// Hide the dialog box after transition
  					// This ensure it doens't block any element from being clicked
  					transitionDone = function (event) {
  						event.stopPropagation();
  						elDialog.className += " alertify-isHidden";
  						// unbind event so function only gets called once
  						self.unbind(elDialog, self.transition.type, transitionDone);
  					};
  					// whether CSS transition exists
  					if (this.transition.supported) {
  						this.bind(elDialog, this.transition.type, transitionDone);
  						elDialog.className = "alertify alertify-hide alertify-hidden";
  					} else {
  						elDialog.className = "alertify alertify-hide alertify-hidden alertify-isHidden";
  					}
  					elCover.className  = "alertify-cover alertify-cover-hidden";
  					// set focus to the last element or body
  					// after the dialog is closed
  					elCallee.focus();
  				}
  			}