Hello Willy,
as I can see you are trying to save a document and then open another Xpage after that.Though I don't understand what's your problem is. This button should save the document and then open the new Xpage with the given documentId. What do you mean with refreshing another frame? (I hope you don't use real frames =) )
Please explain your problem a little more detailed, maybe I am able to help.