Visualforce Button to Close A Window Easy to do with a little JavaScript! <apex:commandbutton onClick=”window.top.close();” value=”Close”/>