jQuery dialog to show imageDetails; uses Ajax getJSON