If you're going to use a global variable to do this, definitely namespace it. There are multiple SaveButtons on the same page (different tabs) so it's pretty misleading and error prone to let one of them use this high-demand global name.