delete document should be enabled