I was able to import the dialog after making some changes .
Verified works fine in 5.8.2.3.20171016155816_aaec796 .
For reference :
Method used was :
===================
dialog = $evm.object
dialog['value'] = "hello#{rand(100)}"
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2017:3005