Build curved tabs only once document is complete

ok