hide controls in edit mode