more changes for the previous commit, using jQuery ui dialog
to show the change difference.