Delete an attached document. Small changes to UI. Remove unnecessary references