AUI-982 - Enable/disable hiding Dialog on closeOnEscape attribute change