In chrome highlighting is visible only while dialog is opened. Upon dialog close in any ways highlighting disappears. It's not clear how to clear highlighting if it stays after dialog closed. So I think it's up to you how to do right from UX perspective.