needed minor adjustments, changed html_output function for buttons (Save, Save & Close, Close) to be button type not submit