implementing new doc and save doc buttons

1. It is possible to press  New doc button. Document number will be
generated on the server side and status New assigned to doc
2. It is possible to press save button. Document status will be updated
on the server side.