adding dialog fields at the correct contextual place.
srcset belongs after src, sizes belongs after the width/height.