Tooltip: on close and destroy only set title if empty or undefined. Fixed #8925 - Code review updates

Code review changes.