fix new-snippet submitBtn