Alert dialog if user imports non JSON

fixes #70
Merge pull request #72 from terrasea/master

Alert dialog if user imports non JSON