fixed bug causing all confirm modals to open at once