+ const button = $("<a>")
+ .attr("class", "control-button")
+ .attr("href", "#")
+ .html("<span class=\"icon " + uiClass + "\"></span>")
+ .on("click", toggle);
+
+ if (buttonTitle) {
+ button.attr("title", I18n.t(buttonTitle));
+ }
+
+ button.appendTo($container);
+
+ const $ui = $("<div>")
+ .attr("class", uiClass + "-ui");
+
+ $("<div class='d-flex p-3 pb-0'>")