Added ignored attributes when saving a document.
Fixed a bug that left the save button disabled if validation failed.
Changed approach to preventing double clicks.