finishing dlgImgSelect dialog

fixing ok button and return of selected image.
still to check selection and some other details