tlp.modal() is not very practical. The name "modal" is often used to identify a modal instance, but the import conflicts with this usage, forcing people to most of the time rename the import import { modal as createModal }. Now that all callers use webpack, it should be possible to rename that API.