allow emptying documents