used hide modal function (on save button click) instead of clearing 4 fields and making user hit a close button.