If you nav to a dialog in latest, click the cancel button to close it, then re-open the close button will still be blue (active).
remove active button state on buttons that close dialogs. Fixes #1839
Dialog: Removed code that removes active state from buttons on pagehi…
…de. Fixes #5111.
The code was added because close buttons still had active state when you closed and re-opened a dialog (#1839). I tested without the code and that issue doesn't occur anymore (nav takes care of removing active state).