close = targetModal => {
    targetModal ? activeModal.closeModalByIdOrElement(targetModal) : activeModal.closeModal()
  }
Closes the active modal
@param  {string|object} targetModal The id of the modal to close, or the modal element itself
@return {void}