enable upload button when post is valid