Bug 1107464 customize mode behaviour