Thank you for your post.
When you click on a field that is a button, you are still putting FileMaker Pro into Edit mode, and with Instant Web Publishing, this will bring up the Submit, Cancel and Revert buttons. "Refresh Window" will not take you out of Edit mode. Instead, use "Commit Records".
ecause the layout I had created was view only for the records it was not obvious to use 'Commit Records' when no records had changed, but that function call fixes the solution, so thanks for concurring that for me.