close = function close(targetModal) {
    targetModal ? activeModal.closeModalById(targetModal) : activeModal.closeModal();
  }
Closes the active modal
@param  {string} targetModal [The id of the modal to close]
@return {void}