made a minor change to the saveButton action for the adding new log/medication forms