Upload modal fix