temporary fix because of upstream Dialog change, jQuery will be removed in the near future