fix: not cancel module window when close module window by code