send_state only once for dict signature of set_css