Use willDestroyElement instead of destroyElement