Are you talking about sending the open Safari window to the Dock?
Or, do you mean resizing the window?
In either case, it shouldn't revert back to the home page. Give a little more detail about the steps you're going through so we can be of more help.