Added delete confirmations and attachment deleting;