add dom-opts and toast as module