Delete document in the long form editor

Delete document in the long form editor