Fixed a bug, in which a disabled save button resulted in a save operation.