* fix(components): [dialog] cannot be clicked when closed * refactor: add test * refactor: update test
import type