Issue 1315

Id's are removed as this components are now being used more than once.
The on enter key action is replaced with a traditional button that becomes active when the user enters both values. The error labels are now redundant.
@jkburges Well it worked but its not as you would have written it! But your right, its possible to do away with 'layer == this.layer'. 
Older code has been modded to better fit not supplying layer to refreshLegend