upload loading before action