Fixed issue where hints dialog was not closing