Sync patch r14758 from main trunk.
Restore the correct cursor status after finish creating the dialog.

git-svn-id: svn://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/MdeModulePkg@14759 6f19259b-4bc3-4df7-8a09-765794883524