Added click listener for save button.