disable controls for editing