Add save functionality on save form