right button submit edit document