When i click a svg then it open a modal to create a record it give error i give my code in picture