re fixed bug-#4281 Grid edit enum field, dialog disappears when trying to select value

Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>