Bug fix: Modal doesn't open the correct config box
Bug fix: Modal doesn't open the correct config box

If the string being split contains more than 2 '-', after splitting, first part is 'id' and remaining is 'hash'. The code was throwing away any string after the second '-' thus calculating wrong hash.

Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode