dispatchMockEvent = eventCtor => (key, code) => (element, opts) =>
  eventCtor(
    element,
    Object.assign(
      {},
      {
        key: key,
        which: code
      },
      code,
      opts
    )
  )
Return an attribute of modal overlay.
@param {Modal} modal Modal instance.
@return {String}