I like this. Rename this config option to be more intuitive  - like hideOnClick. I doubt we're going to treat this as a feature flag but rather an actual option to the js api users.