adding delete document functionality, or rather exposing lack thereof