Disable buttons when not dirty