add version check
match dialog to codiad's codestyle
Merge pull request #2 from daeks/master

Enhancement: add version check