disabling some buttons on saving process