gives an alert when you try to upload a bad formated json dashboard file

I just added a try catch to not let users think there is a bug in kibana