fixed a bug with picture cropper, as well as modal resizing for the picture cropper