fix behavior of exc/click and closing of modals, especially when there are multiple