I have a image carousel which is connected to my Firestore database. I\'ve a common edit and delete button in the bottom bar. So they both require the index of the current d