Fix tool access + modify script panel warning (issue 6954)