Fixed enter key opening dialog bug

Catching destroy tooltip error