firmware: Close bootloader modal after disconnect