fix upload modal bug