Adds basic field validation on resource upload modal