[QE-678] Anvil testcase for optionDialog
[QE-678] timeout error fixed
[QE-678] focus event replaced by postlayout
Merge pull request #5441 from shameer49/ui_optionDialog_updated

[QE-678] Anvil testcase for optionDialog