Added option to disable the save button