edit statement page taking data from the StatementEdit factory