[show-hint addon] Restructure

Also makes sure that no two hinting dialogs can be active at the
same time.

Issue #1619