made focus tooltip only appear if there is data to show