delete script object to prevent memory leak
add tooltips to popup