added delete layouts with their attachments