switch to onDomRefresh to prevent tooltip race condition