Set inhibit-read-only=t when inserting document