Incorporated uploadCtrl as a modal