Bug: Clicking "Yes" would not close modal