added an autoClose flag, so the tooltip can remain open for interactive dialogs