disabled all controls if closed