onClose option can now also be set using onClose method.
touchbar DOM setup in constructor, is now much more unified