added a flag  to prevent reload when necessary  after save.