I'd like to move this into SimPinSystemDialog and let simcard_dialog.js to be manager of that but this could be another bug.