Edge case: homescreen is opener.
So

case 'activitywillclose':
  if (evt.detail.activityCaller.isHomescreen)
    this.element.classList.add('semi-transparent');