Added modal for creating and editing indexes