fixed dialog for unit test
Merge branch 'master' of https://github.com/tychio/dialog
add unit test for set size