photo uploads now exhibit correct behaviour in modal