edit modes via "state" var enabled