Drag image over closed tab of material should set material

If a user drags an image over eg the diffuse tab of a material, if it’s closed it should default to setting the image of that diffuse slot for the material ( would speed up work flow a bit )