toggle documents on and off