get the selected layer from the dropdown. fixes #7