Implement dynamic delaying of tooltips

[#50996763]

It requires a lot of customization. jQuery-UI implementation doesn't
support behavior we expect. We hide tooltip manually in 'open'
callback and set interval which shows it again after calculated amount
of milliseconds. Weird, but works quite fine.