fixed angular error when replacing a file which is not currently selected
fixed angular error when replacing a file which is not currently selected

radiasoft/sirepo,radiasoft/sirepo,mrakitin/sirepo,radiasoft/sirepo,radiasoft/sirepo,mkeilman/sirepo,mrakitin/sirepo,mrakitin/sirepo,radiasoft/sirepo,mrakitin/sirepo,mkeilman/sirepo,mkeilman/sirepo,mkeilman/sirepo