Fix Unsafe tooltip() call

In some apps with custom admin dashboard this call results in a Javascript Error. Call it safely when no $('[title]') elements are present in the document.