From Moxiecode Documentation Wiki
Method: restoreSelection
Summary
Restores any stored selection. This can be useful since some browsers looses it's selection if a control element is selected/focused inside the dialogs.
Syntax
<void> restoreSelection()