added confirmation to remove attachment