get selection in the ImageServer working