fix(): unknown error when closing the printer dialog