use deactivate()/activate() to disable/enable editor widget