form submit stub function now called on save click