Fixed a issue of the selected item is not returned when the dialog is closing.
Merge pull request #2 from s093294/master

Fixed a issue of the selected item is not returned when the dialog is cl...