some changes on modal upload