Repair the bug UART dialog cannot be reopened after being closed.