def act_create_modal(self, uid, **info): js = infomodal(self, uid, **info) self.to_be_sent.append(dict(type='js', code=js))