pdf and submit buttons separated