gerar documento button working well